Getting this weird error when doing a battle twice.

So this error comes up in one of my test fights, and could possibly be applied to my other fights. I'm not sure what the solution could be so does anyone else have an idea on what could be the problem and how to fix it?
It looks like a script conflict.. What scripts did you install recently?
It looks like a script conflict.. What scripts did you install recently?
Thanks for the reply, and it looks like you were right I took out a YEA Patch script.
Right on, now we need to find out what the conflict was.. But I am not ruby master 🙁 Sorry Roy old boy
A divide by zero is typically (for battles) when the program is trying to load the enemies or actors but there are no sprites to load because the troop item is missing enemies. To explain better follow this... I make an event, i put in battle with troop 4. In troop 4 I have 3 slimes and 2 hornets. I go to the enemy page and change the image for the slimes to a different sprite. I later delete that image file and voila, no sprites to load.
A divide by zero is typically (for battles) when the program is trying to load the enemies or actors but there are no sprites to load because the troop item is missing enemies. To explain better follow this... I make an event, i put in battle with troop 4. In troop 4 I have 3 slimes and 2 hornets. I go to the enemy page and change the image for the slimes to a different sprite. I later delete that image file and voila, no sprites to load.
Ohh sounds so simple.

Original thread: https://forums.rpgmakerweb.com/threads/getting-this-weird-error-when-doing-a-battle-twice.81769/