I don't understand this error. How can I fix it?

TypeError: Cannot read property 'contains' of undefined
at Game_Actor.removeHiddenEquippedSkill (file:///C:/Users/jon/Documents/Games/Heroes%20of%20Splendora%201/js/plugins/YEP_EquipBattleSkills.js:604:35)
at Game_Actor.learnSkill (file:///C:/Users/jon/Documents/Games/Heroes%20of%20Splendora%201/js/plugins/YEP_EquipBattleSkills.js:580:10)
at Game_Actor.<anonymous> (file:///C:/Users/jon/Documents/Games/Heroes%20of%20Splendora%201/js/rpg_objects.js:3552:18)
at Array.forEach (native)
at Game_Actor.initSkills (file:///C:/Users/jon/Documents/Games/Heroes%20of%20Splendora%201/js/rpg_objects.js:3550:35)
at Game_Actor.initSkills (file:///C:/Users/jon/Documents/Games/Heroes%20of%20Splendora%201/js/plugins/YEP_EquipBattleSkills.js:489:38)
at Game_Actor.setup (file:///C:/Users/jon/Documents/Games/Heroes%20of%20Splendora%201/js/rpg_objects.js:3428:10)
at Game_Actor.setup (file:///C:/Users/jon/Documents/Games/Heroes%20of%20Splendora%201/js/plugins/YEP_EnhancedTP.js:3126:33)
at Game_Actor.setup (file:///C:/Users/jon/Documents/Games/Heroes%20of%20Splendora%201/js/plugins/YEP_X_ProfileStatusPage.js:188:33)
at Game_Actor.setup (file:///C:/Users/jon/Documents/Games/Heroes%20of%20Splendora%201/js/plugins/YEP_BaseParamControl.js:1008:33)
Did you add the plugin and then resume a previously-saved game?
Did you add the plugin and then resume a previously-saved game?
I added all my plugins and created a brand new game, then went and manually copied over each map one at a time and then I fixed the transit links and then I tested it and that happened. So I started with a brand new project. I manually re-added in variables and switches but have not yet readded my common events because figured I shouldn't have to need to to just test it
@jcoultas Shaz didn't ask you if you made a new project, shaz asked if you started a new game - with the new game button at the title screen.
If you copied old savefiles as well and started them, that could happen.

Additionally, please remove all spaces from your project folder name - you see how they have been replaced by %20 in the error messages?
That is because MV requires all folder and filenames to follow networking rules, and a space is a forbidden letter under networking filename rules.
You can have the spaces in your title and your strings, but NOT in your filenames and foldernames.

If the same message happens on a new game with the foldername corrected, then one of your plugins is either configured wrong or incompatible to the others, and you need to give a screenshot of your plugin manager to begin sorting it out.
Oh, the start up screen is not even loading up to hit the new game button. It errors before it even loads.

I fixed the game title but there is still an error;


TypeError: Cannot read property 'contains' of undefined
at Game_Actor.removeHiddenEquippedSkill (file:///C:/Users/jon/Documents/Games/HeroesOfSplendora1/js/plugins/YEP_EquipBattleSkills.js:604:35)
at Game_Actor.learnSkill (file:///C:/Users/jon/Documents/Games/HeroesOfSplendora1/js/plugins/YEP_EquipBattleSkills.js:580:10)
at Game_Actor.<anonymous> (file:///C:/Users/jon/Documents/Games/HeroesOfSplendora1/js/rpg_objects.js:3552:18)
at Array.forEach (native)
at Game_Actor.initSkills (file:///C:/Users/jon/Documents/Games/HeroesOfSplendora1/js/rpg_objects.js:3550:35)
at Game_Actor.initSkills (file:///C:/Users/jon/Documents/Games/HeroesOfSplendora1/js/plugins/YEP_EquipBattleSkills.js:489:38)
at Game_Actor.setup (file:///C:/Users/jon/Documents/Games/HeroesOfSplendora1/js/rpg_objects.js:3428:10)
at Game_Actor.setup (file:///C:/Users/jon/Documents/Games/HeroesOfSplendora1/js/plugins/YEP_EnhancedTP.js:3126:33)
at Game_Actor.setup (file:///C:/Users/jon/Documents/Games/HeroesOfSplendora1/js/plugins/YEP_X_ProfileStatusPage.js:188:33)
at Game_Actor.setup (file:///C:/Users/jon/Documents/Games/HeroesOfSplendora1/js/plugins/YEP_BaseParamControl.js:1008:33)
Incompatibility caused by wrong order of plugins.
Please go to yanfly's website, reorder your plugins to exactly the order it is on his plugin list (and make sure all are up-to-date as that could be another cause) and then try again.
Incompatibility caused by wrong order of plugins.
Please go to yanfly's website, reorder your plugins to exactly the order it is on his plugin list (and make sure all are up-to-date as that could be another cause) and then try again.

I will head there now then. But while most of my JavaScript are yanfly how do I tell where the other ones that are not part of Yanfly's list go?

I have 4 more that I have not added yet but I want too.

HIME_EnemyClasses
HIME_EnemyEquips
HIME_EquipSlotsCore
HIME_SideviewActorEnemies

Is if just trial and error or is there a trick to it?
mostly it is just trial and error, unless the plugins are part of a large engine (and that is why yanfly gave the list with a comment to follow that order). However, Tsukihime usually writes extremely encapsuled, for her plugins it shouldn't matter.

The only exception is if you're using two plugins affecting the same area, and unfortunately you do - yanfly's equip core and Hime's equipslots.
You might have to ditch one or the other, but you'll definately have to experiment with their order for the small chance that you could use both.

And next time, please provide a full list of the plugin manager - those plugins were not listed in your screenshots or I would have mentioned that before.
mostly it is just trial and error, unless the plugins are part of a large engine (and that is why yanfly gave the list with a comment to follow that order). However, Tsukihime usually writes extremely encapsuled, for her plugins it shouldn't matter.

The only exception is if you're using two plugins affecting the same area, and unfortunately you do - yanfly's equip core and Hime's equipslots.
You might have to ditch one or the other, but you'll definately have to experiment with their order for the small chance that you could use both.

And next time, please provide a full list of the plugin manager - those plugins were not listed in your screenshots or I would have mentioned that before.
Sorry, they were not added yet because I intended to get these ones working first before I tried to add them. Thanks again for the advice.

Edit - I went over the list of plugins that I was supposed to have and Not only was one out of place but three that I was supposed to have on the list somehow got deleted. Either that or I accidentally skipped them when I was transferring over my plugins. Now I just need to experiment with those for other plug-ins to figure out where they can go. The important thing is there is progress.
Also receiving this exact same error when I added Yanfly's Equip Battle Skills plugin. I double checked my plugin order and everything should be okay. I also am not using many plugins that are not from Yanfly. Any ideas? Are you able to use equip battle skills and learn battle skills plugins together?
@so3arbelnox Please do not hijack someone else's thread with your own query. It is better to start a new thread because the cause of your problem is not likely to be the same as that of the OP.

I suggest you post it in the JS Plugin Support section.

Original thread: https://forums.rpgmakerweb.com/threads/i-dont-understand-this-error-how-can-i-fix-it.77845/