Raw veggies and gas pain, anyone else?

Mia

So for the last few months every time I eat any, and I mean ANY AMOUNT raw veggies (confirmed: all kinds of lettuce, and carrots) OR nuts besides peanuts (confirmed: pistachios, cashews, and pecans) I get INTENSE, sob inducing gas pains and cramps for about two hours. Keep in mind this is not with an excessive amount, even half a side salad will start me off. I’ve started the pill about nine months ago although nothing online says anything about intestinal distress, just nausea maybe in the beginning. It also happens on days I only take the placebo. The only relation to the pill that makes sense is if it kills off the microbes that break down some of the fibers but I can’t find anything on that. I’m not on any other medication. I’d really like to find a solution because I’ve been trying to eat healthier and this is a real setback. Thank you for any feedback!