Game shutting down in battle where hero cannot escape

Hi all,

I'm using RPG Maker MV. I made a mini-boss where you can't escape, and as soon as the battle starts, the game crashes. It says "this.testescape" is not a function. I checked the rpgobject.js and it is the most updated version.

When the game crashed, I opened the console and took a screenshot of what it's saying is bugging the game out.

Bug Report 4 24.png

I'm not experienced with programming, but am looking for any pointers or help to identify why the game won't let me make a battle where you can't run away.

Thanks!
Looks like you got a mess of plug-ins there, and one of them is not working with the others. You may want to list all of your plugins for starters.

I've moved this thread to Plug-in Support. Thank you.

I took a screenshot of all the active ones, or should I post a list of the actual .js docs?
Plugin List.png
@ncoleman05
you have quite a list of mistkes there already. So let's start.

1) several of your yanfly plugins are in the wrong order.
Yanfly's plugins have to be in exactly the order given on his website, top to down.
You can mix in other plugins between them depending on where they have to be for compatibility reasons, but yanfly's plugin have to be in the given order.

2) savefiles and plugin changes
took a screenshot of all the active ones,
since there is no deactivated plugin in that list, I'm assuming that your comment refers to plugins you removed from the list.

However you should know that every time you activate or deactivate, or add or remove a plugin from the list, all older savefiles become incompatible because they contain some data from the old plugin list.
Which means that whenever you make such a change in the plugin manager, the next playtest MUST select "new game". If you load a saved file, it has a high chance in resulting in "undefined" or "is not a function" errors.
So did you load a saved file or started a new game before the error happens?
And as additional info: Battletest from the database cannot handle every plugin, so if you started that please repeat the test inside a full game as that error could be caused by the shortcuts of battletest as well.

Original thread: https://forums.rpgmakerweb.com/threads/game-shutting-down-in-battle-where-hero-cannot-escape.120580/