With some of the symptoms you are describing I would be worried about pancreatitis which can be life threatening. Feeding peanut butter which is high in fat would make the condition worse. Pancreatitis is also very painful.
Pancreatitis in Dogs - Symptoms, Treatment & Prevention - American Kennel Club