MV TypeError: Cannot read property 'length' of undefined after reloading after dying

After I die in a battle and reload my save, every new encounter causes the game to crash with this error message
TypeError: Cannot read property 'length' of undefined
Any idea of what causes this ? here's a screenshot of all my plugins I have installed

image.png
When you get an error message, you need to press F8, go to the Console tab, and post a screenshot of the full error trace.

Original thread: https://forums.rpgmakerweb.com/threads/typeerror-cannot-read-property-length-of-undefined-after-reloading-after-dying.166477/