MV TypeError: Cannot read property 'splice' of undefined

Hi, I'm pretty new to RPG Maker and I've come across this TypeError. It started after I added a new equipment type, so a player could equip chainmail & a breastplate for a full set of armour - that sort of thing. The problem is that this comes up when I try to equip something in that extra equipment slot. At the moment, the only plugin I have other than the defaults is MrTS_StatesEX. Any clue how to fix it?

Screenshot 2021-05-19 100940.png
Did you start a new game after adding the plugin and new equipment type, or did you resume a game you'd saved previously?

If you started a new game, hit F8 to open the Developer Tools, go to the Console tab, and grab a screenshot.

If you resumed a previously-saved game, try starting a new game instead.
So, here's the Error message on the Console.

Screenshot 2021-05-19 132448.png
and my other questions?

I'm not sure that error would be caused by your adding an equip slot. It's more about state settings - have you added notes to the States tab and are they all correct?

Original thread: https://forums.rpgmakerweb.com/threads/typeerror-cannot-read-property-splice-of-undefined.136647/