Type Error : Cannot read 'expParams' of null

Hey guys!

I decided to add a few new plugins, I tested them and they worked great. After that I decided to change my system skin.

Now when I try to test play my game I get that error message ^^^^^.

I opened Devtools and this error popped up.

rmmz_managers.js:2036 TypeError: Cannot read property 'expParams' of null
at Game_Actor.expForLevel (rmmz_objects.js:4157)
at Game_Actor.currentLevelExp (rmmz_objects.js:4177)
at Game_Actor.initExp (rmmz_objects.js:4169)
at Game_Actor.setup (rmmz_objects.js:4072)
at Game_Actor.<computed> [as setup] (VisuMZ_1_BattleCore.js:24894)
at Game_Actor.initialize (rmmz_objects.js:4039)
at new Game_Actor (rmmz_objects.js:4024)
at Game_Actors.actor (rmmz_objects.js:5230)
at Game_Party.setupStartingMembers (rmmz_objects.js:5507)
at Function.DataManager.setupNewGame (rmmz_managers.js:260)

Does anyone know how I can fix this?

Thanks!
in almost every case of this error it means that one of your actors is assigned an undefined class.
or basically you deleted classes in the database that are still in use by an actor.

check all actors and select or reselect a class for them.

In 99% of all cases this should solve the problem - otherwise one of your plugins has really messed with the class system, because only classes have expParams
Thank you. That worked!

Original thread: https://forums.rpgmakerweb.com/threads/type-error-cannot-read-expparams-of-null.178557/