Yanfly's Battle Engine keeps crashing.

Yeah...The Battle system just keeps crashing after turn 1 every single Time. And I don't know how to fix it.

I think the pictures can help explain....
Gonna copy/paste what I asked about in regards to this issue from Facebook.

 


Basically, the situation is that if the first turn against anything ends, the whole thing just crashes because I decided to use Yanfly's battle engine (Which would allow me to swap party members in and out if I have the required things first.) The Game crashing is seen in picture one, with Picture 2 showing how it looks when it's not crashing (Also, yes, I do have Golden Freddy, but I was gonna have him be a placeholder summon until I figure out what to use as summons)


Picture 3 shows the string of code that Picture 1 was talking about.


SOMEONE PLEASE HELP ME!!!!

Screenshot_8.png

Screenshot_9.png

Screenshot_10.png

Original thread: https://forums.rpgmakerweb.com/threads/yanflys-battle-engine-keeps-crashing.59846/