MZ Need help with "TypeError" message

Good Night guys. Ive recently been getting this type error message. Does anyone know what this means specifically?
1697766293913.png
1697766293913.png
You'll need to press F8, go to the Console tab, and post a screenshot of the full error trace there.
The key to the error message is the "of null", which basically means the computer was given a reference to something that does not exist.
The cause could be a wrong plugin configuration, it could be something you deleted from the database despite still being in use somewhere or it could be caused by loading an old and incompatible savefile or half a dozen other possibilities.

to find out what exactly is the wrong reference or missing we need the error-trace from the console that was mentioned above.
The key to the error message is the "of null", which basically means the computer was given a reference to something that does not exist.
The cause could be a wrong plugin configuration, it could be something you deleted from the database despite still being in use somewhere or it could be caused by loading an old and incompatible savefile or half a dozen other possibilities.

to find out what exactly is the wrong reference or missing we need the error-trace from the console that was mentioned above.
Thanks for the advice. When I tried opening the console, the game just crashes. Is there a way to get it to work?
You're saying the game crashes and shows you the above error screen - and when you press F8 or F12 the window itself closes?

Are you using a Windows computer or Mac?

The first basic troubleshooting step would be to turn off all of your plugins, then turn them back on one at a time until you find what's causing it.
You're saying the game crashes and shows you the above error screen - and when you press F8 or F12 the window itself closes?

Are you using a Windows computer or Mac?

The first basic troubleshooting step would be to turn off all of your plugins, then turn them back on one at a time until you find what's causing it.
Right, so without trying to press f8 or f10 it crashes on start and shows that error. I don't even get the option to press f8 or f10 because it crashes instantly. I tried pressing f8 or f10 on a fresh project that works, and it crashes my game.
No one said F10. You also didn't answer which operating system you're using.

But I don't know what to say...if trying to open the console on a new project crashes your game, maybe try uninstalling and reinstalling MZ. I don't have any other thoughts...F12 is Chromium browser functionality, not even anything to do with RPG Maker.
Right, so without trying to press f8 or f10 it crashes on start and shows that error. I don't even get the option to press f8 or f10 because it crashes instantly.
Unless it is force-closing your window, you should be able to open the console *after* the game crashes. If you are unable to do that for some reason, please install this plugin and then either screenshot or copy and paste the error trace for us.
No one said F10. You also didn't answer which operating system you're using.

But I don't know what to say...if trying to open the console on a new project crashes your game, maybe try uninstalling and reinstalling MZ. I don't have any other thoughts...F12 is Chromium browser functionality, not even anything to do with RPG Maker.
Sorry about that. I'm using a Mac. I'll try to Uninstall it and install it again.
Unless it is force-closing your window, you should be able to open the console *after* the game crashes. If you are unable to do that for some reason, please install this plugin and then either screenshot or copy and paste the error trace for us.
Thank you! I'll try that next as well
a different question:
how did you try to open the console?

crashing the developer console of a browser while the browser is still running should be almost impossible. But the original instructions were assuming that you had a windows computer, and on the macOS some controls work differently. One possibility is that you accidentally used the keyboard shortcut to close window as that would look like crashing the browser.
a different question:
how did you try to open the console?

crashing the developer console of a browser while the browser is still running should be almost impossible. But the original instructions were assuming that you had a windows computer, and on the macOS some controls work differently. One possibility is that you accidentally used the keyboard shortcut to close window as that would look like crashing the browser.
I have the core engine plugin from visustella, that opens it up on boot, but crashes the game on start. And then on a new file without visustella, I pressed f8 and it crashes it instantly as well.
Maybe someone else who uses Mac will be able to offer assistance - I have seen other people say they're unable to access the developer tools on Mac.

See what happens with the plugin Arthran gave you.

As a note, we're not supposed to double post. You can Reply to or Quote multiple people in one post, and if you forget something you can click the Edit button.
Unless it is force-closing your window, you should be able to open the console *after* the game crashes. If you are unable to do that for some reason, please install this plugin and then either screenshot or copy and paste the error trace for us.
Good morning. Nothing seems to pop up with the plugin you suggested. do I need to configure it in anyway?
Good morning. Nothing seems to pop up with the plugin you suggested. do I need to configure it in anyway?
No, you shouldn't need to configure anything. If it's still showing only the error message from your initial post, it's probable that the error is occurring really early in the boot process (before all plugins are loaded).

If I were to venture a guess, I'd say that you've probably got a plugin that is trying to initialize its parameters, and is failing either due to the plugin having the incorrect name or due to the parameters being configured incorrectly. Have you tried @ATT_Turan 's advice about turning off your plugins and then enabling them incrementally to figure out which one is the culprit?
This the error I'm getting. Any Ideas? When I turn off the "extra enemy drops" plugin then it works on my PC. When I Turn it off on my Mac, the game still crashes. But ill just edit from My PC from now on.
Screenshot (3).png
This the error I'm getting. Any Ideas? When I turn off the "extra enemy drops" plugin then it works on my PC. When I Turn it off on my Mac, the game still crashes. But ill just edit from My PC from now on.
View attachment 281879
Seems like you might have a problem in your Extra Enemy Drops note tags. I'd guess that you either mistyped the name or ID of an item.
The key to the error message is the "of null", which basically means the computer was given a reference to something that does not exist.
The cause could be a wrong plugin configuration, it could be something you deleted from the database despite still being in use somewhere or it could be caused by loading an old and incompatible savefile or half a dozen other possibilities.

to find out what exactly is the wrong reference or missing we need the error-trace from the console that was mentioned above.
I did a couple of quick skims of this thread and I'm not sure if this will be helpful, but if you are having a hard time accessing the console window on Mac, try the "fn" key + F8. Mac OS by default uses the function keys for OS-level shortcuts, so unless you've changed that via a setting, F8 alone won't get you into the dev console as far as I know.

In terms of testing on one OS versus the other, either should be fine; just make sure you're working with an updated copy of your game, whether you load the game directly from a USB drive or you transfer manually.

Anyway, I can't help you with your plugin issue, but I do occasionally load my projects up on my Mac, so if I can help with that side of things I'm happy to try. Not sure how many of us Mac users there are here on the forums.

Best of luck.
@Amar007 one of your enemies has been set to drop extra items, and the item it tries to drop does not exist in the database.

that can either happen if you setup the drops and deleted the item later, or if you mistyped an ID and the item it tried to drop never existed.
but that is the area where you have to check your notetags for the wrong numbers.

Original thread: https://forums.rpgmakerweb.com/threads/need-help-with-typeerror-message.162175/