Cannot read property 'parent' of undefined? Need Help!

Sorry in advance if this is the wrong place to post the thread, but I am having this problem when battle testing.
Dunno if this information is necessary, but the battle system is front-view, and the background is a gif. I only had this problem start once I got the gif background to work.
I don't know much about .js, so any information to help fix this problem is very appreciated.
XDwZgsX.png
NJLZBH1.png
I'm not positive about this ok? But it looks like you have a misplaced file.
@hurt Just a heads up for future threads. Please use descriptive titles - everyone in this section wants help with a problem, so your topic title gives no one any indication of what your specific query is. A lot of people go by the title to decide if this is something they can help with and if it is, they open the thread. You could lose a lot of help if no one can guess what the issue is.
@hurt Just a heads up for future threads. Please use descriptive titles - everyone in this section wants help with a problem, so your topic title gives no one any indication of what your specific query is. A lot of people go by the title to decide if this is something they can help with and if it is, they open the thread. You could lose a lot of help if no one can guess what the issue is.

Sure thing! I will keep that in mind!
How did you get the .gif background? Plugin or modification of code? Somewhere YEP Battle Engine is looking for something (probably a variable) that is no longer there or is in conflict with another script or plugin
How did you get the .gif background? Plugin or modification of code? Somewhere YEP Battle Engine is looking for something (probably a variable) that is no longer there or is in conflict with another script or plugin

.gif background is a plugin by mogwai! and as expected, if the plugin is turned off, then the battle test works fine, just without the background.
Have you tried changing the order of the plugins in the plugin manager?
Does it work when you play normally and enter battle?

Some plugins don't work in battle test mode, as the database is set up (loaded) differently and some plugins only load required resources and set up required parameters as part of a normal database load.

Original thread: https://forums.rpgmakerweb.com/threads/cannot-read-property-parent-of-undefined-need-help.95717/