MV Yanfly plugins help

every time I load my game start an enemy encounter, these two errors popup. i really don't understand what the problem is.
thank you in advance for the help!
Spoiler: Error Image
Screenshot (30).png
Screenshot (29).png
You probably made a mistake in setting up your plugins, but to help you out we need a lot more information.

At first: What did you do before that error occured?
Did you just add a new plugin? Did you change the parameters? Did you write some information into a notetag, add a script call or a plugin command?

Just look over what you did last step by step until you find out what actually caused the error. If you know that and tell us which change makes the error occur then we can start to try helping you out.
The first thing you should do is double check the order of your Yanfly plugins in the plugin manager.

Go to the Yanfly Engine Web site and make sure your plugins are in the exact order they're listed there - having the wrong order can cause random errors.

Also, which engine are you using? You posted this in MV support and Yanfly plugins are for MV, but your profile says you use MZ.
You probably made a mistake in setting up your plugins, but to help you out we need a lot more information.

At first: What did you do before that error occured?
Did you just add a new plugin? Did you change the parameters? Did you write some information into a notetag, add a script call or a plugin command?

Just look over what you did last step by step until you find out what actually caused the error. If you know that and tell us which change makes the error occur then we can start to try helping you out.
The error started when I added yanflys SelectionControl plugin. when I turn it off,
everything works normally. here are the plugins i'm using. should i re-order them?
Spoiler: plugin list
Screenshot (31).png
The first thing you should do is double check the order of your Yanfly plugins in the plugin manager.

Go to the Yanfly Engine Web site and make sure your plugins are in the exact order they're listed there - having the wrong order can cause random errors.

Also, which engine are you using? You posted this in MV support and Yanfly plugins are for MV, but your profile says you use MZ.
I'm using MV, I forgot to change that my bad. and thanks i will check the website.
You should check something related to the selection control or target core plugin. I think the error is there,, see if you have wrongly placed something in the enemy's or your actors' note box
You should check something related to the selection control or target core plugin. I think the error is there,, see if you have wrongly placed something in the enemy's or your actors' note box
I didn't place anything in the enemy or actor note boxes from those specific plugins. and when i rearranged the plugins based the website it still gives the same error.
I don't think the Yanfly plugins in that screenshot are in the recommended order, e.g. Buffs & States ought to be up with the battle plugins:
In case it helps for checking load order:
when i rearranged the plugins based the website it still gives the same error.
Please show an updated screenshot of the corrected order.

After correcting them, did you save your project and start a new game? You should not test it loading a save game.
Please show an updated screenshot of the corrected order.

After correcting them, did you save your project and start a new game? You should not test it loading a save game.
Ok so i'm the problem🙂. after rearranging the plugins all i had to do was start a new game. i didnt think about that.
so thank you all for helping me
most plugins store their data into the savefiles - because that is the only place where it can be stored.

as a result both adding and removing plugins (and sometimes even reordering them) makes the savefiles incompatible in 90% of all cases.
so you should always start new playtests after changing plugins.

If your game becomes larger, implement cheat items to change maps and gain extra levels/gold to speed up later playtests.

Original thread: https://forums.rpgmakerweb.com/threads/yanfly-plugins-help.160802/