Whenever I Open Up The Main Menu, The Error"undefined is not a function" Appears

Whenever I try to Open The Main Menu, this error appears. I don't know how to fix it. PLS HELP!!!!




TypeError: undefined is not a function
at Scene_Menu.createStatusWindow (rpg_scenes.js:1004)
at Scene_Menu.create (rpg_scenes.js:974)
at Function.SceneManager.changeScene (rpg_managers.js:2005)
at Function.SceneManager.updateMain (rpg_managers.js:1982)
at Function.SceneManager.update (rpg_managers.js:1907)
Whenever I try to Open The Main Menu, this error appears. I don't know how to fix it. PLS HELP!!!!




TypeError: undefined is not a function
at Scene_Menu.createStatusWindow (rpg_scenes.js:1004)
at Scene_Menu.create (rpg_scenes.js:974)
at Function.SceneManager.changeScene (rpg_managers.js:2005)
at Function.SceneManager.updateMain (rpg_managers.js:1982)
at Function.SceneManager.update (rpg_managers.js:1907)


Hello, Rendax... I'm not really good with JS, so I don't know if I can help you... But you should explain better what can be causing the problem... do you have any plugin that changes the menu? did you try to make a plugin? Or is it showing without any plugin?

If you have any plugin, tell the name... If you where trying to make a plugin yourself, put the code here...

It will make easier to help you 🙂
1) does this happen after you start a new playtestgame or after you load an older savegame or in both cases?
2) please post a screenshot of your plugin manager so that we can see which plugins changed your menu access
There are no plugins listed there. Have you made any changes to any of the js files?
Please play to get the error, then hit F8 to open the developer tools, go to the console tab, and post a screenshot of that.

Also let us know what version your project is. This may not be the same as the version of your MV editor. To find it, go to your project's js folder and open the rpg_core.js file. The version number will be on the first few lines, unless you're using 1.0.0, which didn't have a version number there at all.

Finally, open rpg_scenes.js and find Scene_Menu.prototype.createStatusWindow = function ... and copy and paste the contents of that function here so we can see what's in it. Then open rpg_windows.js and search for Window_MenuStatus.prototype.reserveFaceImages and let us know if it's found.

Original thread: https://forums.rpgmakerweb.com/threads/whenever-i-open-up-the-main-menu-the-error-undefined-is-not-a-function-appears.117671/