Undefined is not an option

Hello! I'm having a problem in RPG Maker MV.
I've installed several of Yanfly's plugins, including the animated sv battler one.
Whenever I start a battle with a ''floating'' enemy, this happens:
yDFTE3e.png

0pz5x9p.png

Here's the plugins I have installed:
7TU7OQj.png

And the particular enemy, along with its notetags:
D1rsZcB.png

Any help would be appreciated!
Your plugins are out of order. Try rearranging them to the order listed on the Yanfly Engine Plugins page and see if that fixes it.
I arranged them correctly, but it still says ''undefined is not an option''.
Have you started a new game after rearranging?

If no, you need to do that whenever the order or content in the Plugin manager is changed.
If yes, then most probably one of the Plugins is either incompatible or has a wrong configuration.
The only thing left for me to add to what Andar said is that it looks like your plugins are up-to-date; is your version of RPG Maker 1.5.1, and if you updated it from an earlier version, did you follow the instructions to update the javascript files in your project? These plugins were optimized for 1.5.1.

The last thing left to do if you can't get it working is to read through Yanfly's steps for submitting a bug report on his Yanfly Engine Plugins thread. If you make it through all the steps of creating a clean sample project and you still have the problem, submit your bug report on that thread.
Fixed my problem, now it works.

Original thread: https://forums.rpgmakerweb.com/threads/undefined-is-not-an-option.86416/