Hey sorry I got one more!
I get cannot read property "subject" of undefined.
I seem to get it when the sleep state is on in a battle, but it won't always happen right away.
Turn off all your plugins and turn them back on one by one to isolate the problem. The order your plugins are in is very important as well.
99% of issues = the plugin order, if that is correct, one of the notetags or event wrong setup.
otherwise, its something else like a compiitable issue between 1 or more plugins.
but I'm happy it fixed your issue.
try to organize the plugins around this to avoid most issues:
-> main core
-> messages
-> battles
-> game related (save, vehicles etc)
-> miscs
-> utilities
the last one can have them in any order without any issues unless told otherwise
like yanfly, but sometimes, it works better below one plugin creator and not in between.
so read the order correctly so it works on their best 🙂