pineapple core

Omg I eat a slice of pineapple core this morning and I felt miserable at work today I felt like a had bad diarrhea all day with bad cramping I feel scared eating more core now. Is this normal 😫😤😔  I had it with an empty stomach too