Error when testing event

Hello,

So I get this error whenever I try use the Test function to test an event. I have a bunch of the Yanfly's plugins installed, and some lighting/combat ones too, but I'm not sure what it is with them that's causing the problem. This only happens when I try to test things, not when I'm running the actual game, which is what's confusing me.

Usually I prefer to look for threads people have already made, but I haven't been able to find anything on this issue. Any help or links to threads answering this question would be greatly appreciated!

I've attached a screenshot of the error in the developer console:
This only happens when I try to test things, not when I'm running the actual game,
That is normal

all tests (battle test and event test) speed up their access by bypassing parts of the initial game setup.
This only works correct as long as no plugin requires those setups.

as soon as you are using one of the more complex plugins that requires or redirects the game setup sequences, all short tests become unreliable and you have to use the full game to actually test everything.
That is normal

all tests (battle test and event test) speed up their access by bypassing parts of the initial game setup.
This only works correct as long as no plugin requires those setups.

as soon as you are using one of the more complex plugins that requires or redirects the game setup sequences, all short tests become unreliable and you have to use the full game to actually test everything.
Ah, OK, if that's normal then I can deal with it. Thanks so much!

Original thread: https://forums.rpgmakerweb.com/threads/error-when-testing-event.156057/