MZ Need some help with Maximum Call Stack Size Exceeded

Total programming illiterate here. I updated my plugins in the game that I am making right now and this showed up. It has never happened before? Is there a way I can fix this issue apart from just reverting back to my old plugin version?
So the plugin you updated, is it your own plugin your updating, or did you install/replace a new plugin?

When does this show up? When you start a new game or load an old save file?

If you've changed anything plugin wise and it's not working then try starting a new game.
That error happens when a function calls another function that ends up calling itself. The loop happens a set number of times before the engine throws this error and crashes.

It's not usually caused by only an update, it's more often caused by having multiple copies of the same plugin enabled at the same time. Check for that before reverting any changes you made.
So the plugin you updated, is it your own plugin your updating, or did you install/replace a new plugin?

When does this show up? When you start a new game or load an old save file?

If you've changed anything plugin wise and it's not working then try starting a new game.
I am still in the playtesting and I was trying to start a new game. Basically a new slate.

This is visustella's plugins, I updated the main core plugins from their free demo versions.

That error happens when a function calls another function that ends up calling itself. The loop happens a set number of times before the engine throws this error and crashes.

It's not usually caused by only an update, it's more often caused by having multiple copies of the same plugin enabled at the same time. Check for that before reverting any changes you made.
Thanks for the reply, I checked it but there's no multiple copies of the plugins.
Are your VisuStella plugins in the correct order?
Maybe a screenshot of your plugin list will help to spot something.

Also, before reverting your updates, you can deactivate the plugins one by one to find out which one actually causes the issue.
It can also happen within one plugin if you set notetags or plugin parameters that refer to themselves.

So if you had, for example,
Code:
<JS ATK Plus: this.atk / 2>

That would create an infinite loop and produce this error.

VisuStella's obfuscation of their code makes it hard to give any more specific advice since we can't tell what that specific line of code is supposed to be doing.
It can also happen within one plugin if you set notetags or plugin parameters that refer to themselves.

So if you had, for example,
Code:
<JS ATK Plus: this.atk / 2>

That would create an infinite loop and produce this error.

VisuStella's obfuscation of their code makes it hard to give any more specific advice since we can't tell what that specific line of code is supposed to be doing.
Yes, I think it's the notetags thing. I recently updated the Skills and States Core of Visustella because I really needed the Miasma and Aura effects. However, whenever I put in the notetags the needed data (as instructed by Visustella's tutorial page) it causes the game to make that error. If I remove the <Miasma State: XX> the game goes back to normal.

It's a bummer. But thanks for the reply. Now I at least know what's the issue.
If I remove the <Miasma State: XX> the game goes back to normal.
the state within that notetag wasnt itself or another miasma state, correct?
the state within that notetag wasnt itself or another miasma state, correct?
No, it's just a regular state that does damage every turn. Funny thing is that it works on their sample game project, but it does not on my game because I have other plugins in use (all Visustella). It's not giving me any error reports other than the error with Skills and States core and Elements and Status core, both of which I am using in the sample project.

So my guess is that there is some other code in the other plugins that is messing with the <Miasma State: XX> notetag but it is not being detected by the devtool, if that is at all possible.
If your project only has VisuStella plugins and you're sure they're in the correct order, sounds like you should follow the instructions to submit a bug report to them.

Original thread: https://forums.rpgmakerweb.com/threads/need-some-help-with-maximum-call-stack-size-exceeded.174302/