In RPGMaps_Core, look for
if ($gameMap._injectedDataMap) {and replace with
if (typeof $gameMap !== 'undefined' && $gameMap._injectedDataMap) {This will be fixed with the next update.
According to the board rules, I'm not allowed to advertise a commercial plugin. Yes, there's a free trial, but it no longer allows you to ship a game. It only allows you to use it during testplay. I'm afraid I need to close this thread.
Please follow this project here: https://aerosys.itch.io/rng-maps