Major Console Error - Please Help!

Hello~

I'm encountering a game-crashing error near the very beginning of my game, any time I encounter a battle. I've isolated it down to the fact that it only occurs when a certain event (image attached) occurs before a battle.

What I mean is, if I turn this particular event off before running the test play, the error does not occur. I believe it has to do with my having gone in some time ago and messed around with "layers" in the main js files, trying to fiddle with how pictures were displayed. It didn't look like anything happened, but now this is happening. I think it's interacting with TDDP's Bind Picture to Map plugin, but I could be off here.

I've attached the console report as well. Any help would be tremendously appreciated, thank you!
1) next time please give a screenshot of the entire event and don't crop away half of its data (an event is more than just the content)
2) does this happen on a new game or on loading a saved game or on both cases?
3) you're erasing the pictures you've bound on the map - and the error message says that the plugin can't access the data of something that no longer exists (undefined). Check how to unbind your pictures when you erase them, that would be my first guess.
Please provide a link to the plugin.

I'm questioning your event - why do you have three commands in there to change the parallax, all to the same settings?

Is this a common event, and is it set to parallel process? Or is it a map event? I believe if you have a lot of waits (or a long wait) in a parallel processing event, it may reset to the top again without processing all the way through. That means it might not be running ALL the commands you've entered. This is why, as Andar says, it's important to show the WHOLE event and not just the list of commands. Everything outside of the command list is just as important, and may hold the key to the issue.
1) next time please give a screenshot of the entire event and don't crop away half of its data (an event is more than just the content)

You're totally right, my apologies! I'll remember this next time.

I'm questioning your event - why do you have three commands in there to change the parallax, all to the same settings?

Each instance changed the speed of the Parallax's movement. This doesn't show up in the Content Window :LZSproud:

So anyhow, I figured out what it was. The Event I posted actually had nothing to do with it. That Event has a lot of Wait on it, and it was another Event that was triggering while this one was running that caused the issue. Turning the Wait Event off kept the bug from happening, but it was actually nothing to do with that Event, so it was a total red herring, if that makes sense.

The end solution was a bit of both of your responses (without boring you with details) so thank you both so much for your help!

Original thread: https://forums.rpgmakerweb.com/threads/major-console-error-please-help.104160/