MV TypeError: Cannot read property 'etypeId' of undefined

Hello,
When I try to check Equip, I get the error in the title. Using F8 prints the following:
equip glitch.jpg

I tried to replace the faulty js files with fresh ones, but the same error happened. Did anyone encounter this glitch? Do you know how to solve it? As far as I can tell, it happened after using Yanfly's ItemCore plugin (it's the first plugin I've added in months and it worked fine before).
Thanks for reading.

Edit: nevermind, I reinstalled the plugin and now Equip works fine.
Moved to: Plugin Support

it's an indication that it's trying to access something that hasn't been defined / set up.

This error often happens (though the 'etypeid' is replaced with something else) when you add a plugin and then continue a game you'd saved previously, especially if the plugin modifies objects you define in the database, but sometimes other things as well. The usual solution is to choose New Game rather than Continue.

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