There are a bunch of related toxic chemicals in plants of the nightshade family, solanine being the most widespread. (Others: atropine, hyoscine, nicotine, chaconine, solanidine). People vary enormously in their sensitivity to these. My guess is that this is the chemical background to the arthritis-like symptoms.