Error with Yanfly Battle System

undefined method '<=' for nil:NilClass
I think we might need more info on this. Did you place the scripts in the right order? It looks like it's picking up something that isn't there. Maybe with the Class script.
When the error happen?

Which line?
please, always provide the link to the script, and the full error message (best in form of a screenshot, as sometimes people have mistyped important parts of the error message).


That said - 50% of all times when an error message similiar to the incomplete message you posted appears, it's because someone added scripts and then loaded an old savegame instead of starting a new game. A lot of scripts require the start of a new game after they have been added, because they need the new game functions to initialize themselves - and the message simply says that something had not been initialized...

Original thread: https://forums.rpgmakerweb.com/threads/error-with-yanfly-battle-system.26280/