[Fixed]Undefined crash involving RPG_core

-UPDATE-
Idk what happened, now works, lol

That's it, what the title says.
It happens only when i enter in one map specifically.
Any other map works perfectly.
The changes i did before this were updating to 1.5.1, and adding some plugins, none of them involved with tilesets or mapping. Whoever, i turned these plugins off and the crash is still there.
I know its from RPG_core because the window of F8 says it. I've tried using backup of that file but nothing.
What could be the problem?
You might find you get more help if you actually post the error message - screenshot of the console would do the job.

Original thread: https://forums.rpgmakerweb.com/threads/fixed-undefined-crash-involving-rpg_core.84063/