Does midol medicine cause stomach/liver issues?

Katie • 26 yrs old. Married for 2 yrs. World traveler
Yesterday evening I took midol for cramping. Within 30 minutes I had horrible pain on my upper right side of my stomach... Near my Liver. Can midol cause liver damage? I've been in pain for 24 hours now. Has this happened to anyone and did you have to go to the hospital? 
Thanks for any advice!