Battle throwing a "TypeError - Cannot read property 'height' of Undefined" error.

I've tried to create a simple battle featuring 3 Ghost enemies.

All I've done is add a Ghost enemy to my Enemies tab in the Database, and then created a scenario in the Troops tab where 3 of these Ghosts appear. I have done nothing else. But when I try to run the battle, it crashes with the error text in the title of my post.

I've tried running the battle in the game and in the Battle Test mode, and the error appears both times. If I instead run the Battle Test with the pre-loaded Minotaur enemy, the battle runs just fine. But for some reason my 3 Ghost battle makes everything crash.

What's going on here?
Maybe there were some enemies in this troop, but you removed their images on the Enemies tab and now you can't see or select them on the Troops tab. Have you tried clicking the Clear button, then re-adding the enemies to that troop?

Your "script" screenshot shows the Elements tab of the dev tools window, but that's not helpful for diagnosing an error. Can you share a screenshot of the Console tab instead?

Original thread: https://forums.rpgmakerweb.com/threads/battle-throwing-a-typeerror-cannot-read-property-height-of-undefined-error.166957/