With abs there's nothing I can do. When my abs start to tremble I try to arch my back and stretch my mid section out but the cramp inevitably pulls me back in and sucks me into a fetal position.
With hamstrings there's nothing I can do either. It happens too instantaneously for me to have any chance to combat it with stretching. And the worst part is...it happens WHILE I'M DOING LEG CURLS! I'll literally cramp up mid rep and be stuck with weight pulling at my hamstring. While it tries to remain contracted the weight tries to pull it apart causing excruciating pain and muscle tears. I've only torn it once and that was enough to traumatize me for years. Then I tried it again and was ok for a short while but then it happened again mid-set and I had to pull off the most awkward, painful maneuver to escape the machine before my hamstring tore. I'm terrified to do leg curls or any hamstring exercise now.

I'm convinced I have some sort of nutrient deficiency...whether it be potassium, magnesium, etc. I've tried all the supplements, [potassium (or bananas), magnesium, taurine, etc.] alone and in different doses/combos with no luck.
Not really looking for advice, mainly venting lol. But definitely don't hesitate if you do have something helpful to share.