it means that one of your plugins needs data that is not yet defined - either because you loaded a saved file after installing the plugin, or because you didn't configure the plugin correctly, or because it is incompatible to one of your other plugins.
First test: does the error appear if you start a new game and do not load an old saved game?
If yes, we need a screenshot of the full error message from the console output (F8) to help you identify which plugins cause the problem.
Well.. it may not be something to do with save files, since the error also takes place when i test troop battles from the database.
I'm at the university right now. Will try to get the screenshot from the console when I get back to my computer.
Thanks for answering!
Managed to open the console. Problem solved.. it was Yep_BattleSysSTB.
The error was gone when I took it out. ^^
Please close this thread.