NameError occurred (uninitialized costant)

Hi everyone, this time I am on a new project that I created with Rpg Maker that is NOT Pokemon essential because I didn't know it was illegal and I abandoned it. I have an error that only shows up when I open the menu and click on Items. The error is this:

Script 'Scene_Menu' line 128: NameError occurred.

uninitialized constant Scene_Menu :: Scene_Item

I also wonder how it is possible that errors come out of nowhere, because before it went .. I don't know much about the Script editor so could you answer me in a simple way? Thank you
you have been told several times that the pokemon essentials are an illegal paket and you cannot get support for them here. That includes repairing errors that are already in that project, no matter how often you ask and how you rephrase the question.
you have been told several times that the pokemon essentials are an illegal paket and you cannot get support for them here. That includes repairing errors that are already in that project, no matter how often you ask and how you rephrase the question.
But I'm not on Pokèmon essential. I simply created a new project.
In a new project, that error cannot happen unless you edited something in the script editor.
If it really happens in a new project, then that means that the files of the editor have been damaged by something.
And in that case you need to reinstall the editor - uninstall it, delete the program folders if they still exists after uninstall, and then reinstall the editor with the setup. After that you can make a new project and that project will work.
In a new project, that error cannot happen unless you edited something in the script editor.
If it really happens in a new project, then that means that the files of the editor have been damaged by something.
And in that case you need to reinstall the editor - uninstall it, delete the program folders if they still exists after uninstall, and then reinstall the editor with the setup. After that you can make a new project and that project will work.
maybe i touched something in the script editor but then since it didn't work I copied what was in the script of a new project and went. but is possible that during programming something changes in the script editor? And if I had changed something is there a way to solve it without installing the program again?
if it was something changed by you, then simply make a new project and that new project will work.

If a new project doesn't work (before any changes) then the editor is damaged and has to be reinstalled (which is easy by the way)

And no, there is no random ghost in the computer - every change has a cause, which means that you didn't correct everything you changed no matter if you believe you did. And because you forgot where you created the error there is no chance of finding it to correct it, you need to use a new project and be more careful next time.
if it was something changed by you, then simply make a new project and that new project will work.

If a new project doesn't work (before any changes) then the editor is damaged and has to be reinstalled (which is easy by the way)

And no, there is no random ghost in the computer - every change has a cause, which means that you didn't correct everything you changed no matter if you believe you did. And because you forgot where you created the error there is no chance of finding it to correct it, you need to use a new project and be more careful next time.
If I create a new project it works. I have seen that if creating a new project I copy the files of the old project into it, the programming is also copied, so if I created a new project and copied the old files of my current game into its folder, since the error is in the script editor, would it work?
theoretically yes - if you copied everything correctly.

But you said that you tried that already and it would not repair the error - that is only possible if you copied the wrong file or the wrong way. And if you don't remember the mistake you made, it is possible that you repeat the mistake.

But if you copied the damaged file, you will keep the error. Because the script editor only accesses the data that is stored inside your project files.
Basically, don't copy over the Scripts.rxdata in your Data folder over to the new project.
Tell us if it ends up working or not. If it still doesn't work, then maybe you're using another third party script that messes with the project. You can post a screenshot of your scripts if it still doesn't work.
Tell us if it ends up working or not. If it still doesn't work, then maybe you're using another third party script that messes with the project. You can post a screenshot of your scripts if it still doesn't work.
Yes, I solved it thanks to everyone!

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/nameerror-occurred-uninitialized-costant.119349/