TypeError : Cannot read property 'forEach' of underfiend

Hi..everyone

I very new for RPG Maker MV,I not know what to do if you guys can help,Please Thank you

View attachment 27497
In 90% of all cases, that error happens if you use an old savefile after adding a new script - most of the more complex scripts require to run the new game functions before they can work properly, making all older savefiles unusable.

So the main question now is: does this happen on  a new game, or did you load an old savefile before the error?

If this happens on a new game, you have two scripts that are incompatible to each other - unlikely if you're only using yanfly's plugins and have the latest version of each.
I load on old save 🙁  file ,after i do battle test work glad then after player win  show popup battle results when i click it then show typeError.
How i can do for fix this problem? Please help me to fix this thank you 🙂
How i can do for fix this problem? Please help me to fix this thank you 🙂
I told you above how to fix it: make a new game and delete your old savefiles.
That are your choices: either remove the plugin that needs a new game for initialisation, or make a new game.


You cannot continue old savefiles after installing a plugin that needs a new game to be initialized properly.


Dusadee, please avoid double posting, as it is against the forum rules. You can review our forum rules here. Thank you.
I make working now Thank you very much  😀   😉  Sorry i'm new at forum I'm sorry Please apologize  

Original thread: https://forums.rpgmakerweb.com/threads/typeerror-cannot-read-property-foreach-of-underfiend.53303/