Yanfly plugins problems (MV)

Hello everyone!
I would like to know if anyone can give me some idea of what causes these errors.

The errors I attached in the screenshots happen very occasionally, and sometimes randomly. I have played for more than 1 hour and it didn't give me any error, but sometimes it happens after 10 min. To other people that I have asked to test it, it also happens very randomly and I don't have the slightest idea of what the error means.
I have burned my head trying to find the solution but it seems that each problem is particular and I have not found anything useful that points to my problem.

Sorry if I am missing any relevant information, I'm really ignorant with all of this, if so, please let me know and I will share it with you. I'll attach the list of plugins too.

I also share with you the link of my project in case you find it useful.

before anything, try reorganizing your yanfly plugins so that theyre in the order as they appear on the website and then save the project
(and start a new game, don't load a save)

Also, please provide actual screenshots - uploaded camera pictures of a monitor are hard to read.

Sorry, those screenshots where not mine, but here is one of them
image.png


This is the other one, I'll zoom it

ASDASDA.png

If you want I can write the error of this second picture
have you reordered your plugin list like you were asked above before those errors happened?

because your original order is wrong, and yanfly's plugins are known to cause strange error is in the wrong order.

do the errors happen with a new game or when continuing a saved game or both?
and please give a show description of what you did just before the error happens.
Okay, I reorder plugins and tried again, this is what happen.

Both characters at LVL 15. 11 min of gameplay. They have equipped a full set (or part of it) that give stats boost.

When I was fighting I used buffs and debuffs abilities, and items too (everything that does NOT do dmg so the enemy can attack) with both characters. All the 3 enemies attack.
Then, with Sakura I tried to charge chakra and instantly crash (after all the previous step)
Any ability in particular causes this problem, it could be a mix of things with stats or abilities, i'm not sure.
1231231211.png


I tried again vs the same enemies and this time crash very soon at fight, I used non attack skills/items to pass the turn + defense option and with Sakura I just used buff and regen skill, in that order, and then crash again. The enemies doesn't attack this time.

I tried once again, this time agains different enemies with the same pattern of skills and happen the same, with the only difference that this time didn't instantly crash after using the skills, crash after one of the enemies attack (like, it was like it had a little bit of delay or something)

I tried one more time, this time against one boss (Orochimaru) instead of bandits repeating the same pattern and didn't crash, however, the fight was extended and crash when the snake uses an skill.
Basic attack, cover and triple attack are all his skills. Cover is a custom skill with the following notetag:
<Cooldown: 8>
<Instant Cast>
<User Barrier 2 turns: +300>
<MP Cost: 30%>
<Whole action>
add state 15: user
</Whole action>

and the rest are the default skills of the rpg maker

Plugins order:
plugins.png
PS: If is useful I can share the editable project
another thing is, NEVER share a project with paid plugins, leave them out
and show the events. where it actually happen and how it breaks so we
can only focus on the code if the plugin is in order.

besides your YEP plugin in order by website or a plugin in my spoiler,
it also better to order ALL plugins, battle by battle, message by message,
utility to utility not author by author as this can cause issues too.

as some plugins overwrite other codes, you can try to set it above it or below it,
if it fully overwrite it, it has to be aliased, depending that they do or combine
the function.
the only difference that this time didn't instantly crash after using the skills, crash after one of the enemies attack (like, it was like it had a little bit of delay or something)
Where's the screenshot of that error? It shouldn't be anything to do with getting targets in the middle of an attack.

The error you're getting indicates a typo in JavaScript code, but it's coming from the middle of a plugin that has no typos. So a few common causes:
- Having plugins out of order. You say you've fixed this, saved your project, and started a new playtest.

- You putting a typo into a field that accepts JavaScript. Could be a plugin parameter or notetag

- Conflicting plugins. Have you tried turning off all plugins except the Battle Core and action sequences? You've got to do some basic, logical troubleshooting.

- Corrupted plugin files. It doesn't happen often, but I have seen people fix random problems by removing a plugin, saving their project, downloading a fresh copy of the file and installing it again.
Thank you all for your answers and time, now at least I have an idea of where the problem could be, it will only be a matter of time before I find the problem, have a nice day!
To add to what @ATT_Turan wrote above:

the error trace cointains only YEP and base plugins/scripts.
which means an incompatibility can only be the case if your core scripts are incompatible - which means very old versions.

please go to your project directory, then into js and use a text editor to open rpg_core.js
what is the version number in the title line? no number = 1.0
the error trace cointains only YEP and base plugins/scripts.
which means an incompatibility can only be the case if your core scripts are incompatible - which means very old versions.
This might absolutely be the case, and it's worth checking.

However, if there's a conflict or actual typo in another plugin, it absolutely can "bleed into" the code of another file such that the JS interpreter will read the second file as having an error, even if code from the first plugin hasn't been actively called.
This is what it says

1725984005851.png


Also, I downloaded Yanfly plugins from his 30$ bundle collection, I mention it in case it is relevant to you.
This thread is closed due to being reported as solved. If you need it reopened, report it to let us know. Thank you!

Original thread: https://forums.rpgmakerweb.com/threads/yanfly-plugins-problems-mv.171805/