I don't find onions especially sweet, and I believe several people with FM can safely eat them.
I have neither FM nor IBS. If I eat few pears at once I have two-day free abdominal orchestra, but no problems with apples, honey, HFCS. If I eat white bread and drink soda I get constipated; wholegrain bread solves this nicely.