Window_TitleCommand is not defined

Hi, I'm pretty new to RPG Maker, and I can't find an answer anywhere, so I was wondering if anyone could tell me what this means? Every time I try to test my project a message pops up saying "ReferenceError Window_TitleCommand is not defined" If anyone knows what this means, please tell me.
What did you install as plugins?
That points toward something you did that broke the engine - if you make a new project and playtest that, without any changes, does that work or not?
I tried creating a new project and test played that. That one worked. As for Plugins, I have
AltWindowFrame-ON
YEP_BattleEngineCore-ON
YEP_X_BattleSysATB-ON
YEP_BaseTroopEvents-ON
YEP_KeyboardConfig-ON
YEP_MessageCore-ON
HIME_PreTitleEvents-ON
HIME_BattleWeather-ON
AltSaveScreen-OFF
AltMenuScreen-OFF

Also, by creating a new project, did you mean making a default standard NEW project, or Copy pasting what I have into a different folder? I created a new project and did absolutely nothing except test it. Another question is if I can fix this, or will I have to recreate what I have so far?
Please give a screenshot of your plugin manager and open the projects rpg_core.js file withna text editor and tell us the number at the end of the title line.

Yes, I meant a new project exactly like you made it, to test if the default files were Brocken or if it is something done by your plugins. And we need the screenshot, not a simple list, because there are other possibilities involved like version conflicts or wrong order of the plugins - if you have them in the order you wrote above then that order is definately wrong and needs to be corrected.
Plugin Manager.png
TehCoreisJS.png

Hope this helps!
We also need to see a screenshot of the console.

During a test play, when the game crashes, press F8 to open the console. Take a screenshot for us, it shows the entire error message.

Also, what is AltWindowFrame / do you have a link for it?
I don't think this is a plugin issue - I think you have deleted something or renamed something in your core files.

Look in your rpg_windows.js file and search for Window_TitleCommand. I suspect you won't find it.
Now go to your new project that works and do the same. It'll be there.
Hello. In the rpg_windows.js Window_TitleCommand was referenced a few times. As for opening the console, I tried F8 but it only brought up some sort of display options thing. Also, AltWindowFrame is a plugin that comes with the Window Builder DLC.
You are looking for Window_TitleCommand.prototype which is where the class is defined. You might see a few references to new Window_TitleCommand but that's where it's trying to use it, not create it.
Oh, OK. I see both. Window_TitleCommand and Window_TitleCommand.prototype.
There should be a lot of prototypes for that class.

For any further info, we really need the F8 screenshot of the console. You could also give us a screenshot of the error message that you DO see - the only thing I think we'll confirm from that is that you don't have a typo in your first post - if you DID have a typo and that's not the exact text, that could help us track it down as well.
ReferenceError.png
nah, nothing there.

If you disable all of your plugins, does it work?

Did you say you created a brand new project, with no additional plugins, and you got the same error? That would indicate that the core files where MV is installed (that are used for all new projects) is corrupt.

Please open your project's folder and find the rpg_core.js file in your js folder. On the first few lines there should (might) be a version number. Is it there? What is the version?

Are you using the standalone MV from this site, or did you get it from Steam? Or somewhere else?
If I disable my plugins I get the same error.
I created a new project and it did work.
I got the software from Steam.
TehCoreisJS.png
So you have done something with your core files that has made it not work.

Copy all of the folders from your original project into your new project (close MV first), except the js folder. In the js folder, ONLY take the plugins.js file and the plugins folder - leave all the other files behind.

This will give you a new, up-to-date project with all your database and maps and images and plugins, but will keep the new core files. THIS should solve the problem for you (crossing my fingers).
Yes! It worked! Thank you so so much! I'm making this as a gift for my brother's birthday, so it is awesome that I don't have to restart!

Original thread: https://forums.rpgmakerweb.com/threads/window_titlecommand-is-not-defined.93667/