TypeError Cannot read properly 'width' of undefined [MZ]

This happens anytime I try to battle test.

I'm not using any plugins, which seem to be the problem with everyone else who gets this error. So I'm not sure what my problem could be.
Annotation 2020-10-03 063430.png
Does this happen when you test any troop at all, or only a specific one?

I suspect the error is pointing to a troop which contains an enemy which you removed from the database, so the troop still thinks it should have 1x enemy[123] and you only have 120 enemies in your database, for example.
Does this happen when you test any troop at all, or only a specific one?

I suspect the error is pointing to a troop which contains an enemy which you removed from the database, so the troop still thinks it should have 1x enemy[123] and you only have 120 enemies in your database, for example.
Wow yes that was the issue! I did remove the default troops and enemies the program comes with and made my own. I must have accidentally selected a blank enemy.

Thank you for helping out a noob like me!

Original thread: https://forums.rpgmakerweb.com/threads/typeerror-cannot-read-properly-width-of-undefined-mz.128212/