I'm getting a script error, but I haven't touched the scripts?

Hello lovely people. I'm having a bit of an issue here and I really don't know what to do as I'm super inexperienced with scripts. When I loaded up my project today and went to playtest I got an error message. I figured I must have accidentally erased part of the line or something because I can't think of any other reason for this to be happening. So I created a new project and copy pasted the script back into mine, but that didn't seem to make a difference.

I've been working stupidly hard on this game and it makes me really nervous to be having a problem with something I know next to nothing about with no explanation for why it's happening.

1619619166701.png

1619619557275.png
How many actors are in you're game right now ?
What custom scripts do you have in your game?
How many actors are in you're game right now ?
Three, but I've only used two so far (1 player and 1 npc)

What custom scripts do you have in your game?
I don't have any custom scripts
This also happens in vanilla project?, occurs on all maps you do the test on?
@Hollystar311
"of nil" means that the engine is missing data.
if you don't have scripts, that means that you deleted something from the database that is still in use in another part of the database.

for example deleting an enemy and then starting a battle with a troop that originally contained the now deleted enemy
or deleting a class that is still used by an actor, and then using that actor in the game
or deleting an item that was set as default equipment for your actors

and so on.
Did this ever get fixed for you?
Did this ever get fixed for you?
I assume so, because I posted the description of the cause above.
All the OP needed to do is to check what he deleted in the database to cause the error and replace it.

However, that does not automatically mean that a similar error has the same cause, because what looks similar to a non-programmer can be something completely else.
That is why the mods on this forum ask everyone to post their own topic for their own errors, never assuming that two cases are the same.

Original thread: https://forums.rpgmakerweb.com/threads/im-getting-a-script-error-but-i-havent-touched-the-scripts.135975/