Show Message Event Command throws error?

Code:
rmmz_managers.js:2030 TypeError: Cannot read property 'expParams' of null
    at Game_Actor.expForLevel (rmmz_objects.js:4139)
    at Game_Actor.currentLevelExp (rmmz_objects.js:4159)
    at Game_Actor.initExp (rmmz_objects.js:4151)
    at Game_Actor.setup (rmmz_objects.js:4054)
    at Game_Actor.initialize (rmmz_objects.js:4021)
    at new Game_Actor (rmmz_objects.js:4006)
    at Game_Actors.actor (rmmz_objects.js:5212)
    at Window_NameBox.Window_Base.actorName (rmmz_windows.js:311)
    at rmmz_windows.js:301
    at String.replace (<anonymous>)

For the name box i have \n[2] which is the actor name. But it's throwing this error. All plugins disabled. No idea what's going on.

1599704164981.png

1599704184660.png
Increase the max amount of classes. (I believe it was classes, if that doesn't work, try increasing the max amount of actors)

Original thread: https://forums.rpgmakerweb.com/threads/show-message-event-command-throws-error.127083/