cannot read property "pages" of null - Help

Hello.
I am a beginner creator of my own game in the RPG maker MZ program. Well, while testing each map, I checked whether there were any errors in events, cutscenes or, for example, the character was not walking into a wall somewhere. And so, checking this game for some time, I fought enemies on large maps, e.g. 100x150. EVERY TIME AT RANDOM MOMENTS I see such a message and I also took a screenshot of the console with a description of the error.

3.png


Unfortunately, I have no idea what this could mean.
I will also add that this error appears to me most often when I finish fighting opponents, e.g.gain 32 exp and 12 gold.

Is such an error harmless? Will this bug threaten my game in the future? What should I do? I ask experienced creators for help if someone has had a similar problem.
What plugins are you using?
Also 100x150 is not large, it is huge. 👋
I don't use any plugins. Because I decided that I don't need them at the moment. I only used them at the beginning of the tests.
4564.jpg
Turning off plugins mid-development may cause problems.
Did you load an old save or started a new game?
From your description it looks like when return to the map, some event have an invalid event id, for some reason.
when you get this error, is it from a file that youve loaded or is it from a new save file? the error says that the game its trying to get the data for an event that doesnt exist and im not entirely sure how to get to that point without loading an old save
another point not mentioned is if you use "battle test" or "event test"
that has multiple pages, this might throw itself too (sometimes).

but old saves after changing the event, database, plugins (adding/removing,
turning on/off) cause a lot of problems, and should always start from the
beginning.

if you use a temp event(s) with debugging might harm others, so make
sure this is also correct into reading the pages correctly.

if you use custom scriptcalls inside an event, make sure those are correct,
scriptcalls/moveroute scriptcalls, etc can play a role, but its more important
"how" and "when" it throws an error, like always same spot, random events?
before battle, after battle? events related when won/lose etc?

the more we know, the more we can narrow it down to the cause and solution.
I'll put it this way. This error pops up in random places after winning a fight. For example, when I'm on map A and go to the place where I had the error before, after winning the fight the game works normally.

I would like to point out that I check the entire game from the beginning, i.e. "New game" up to the point where I finished my project. I don't load the game from old saves!

I only use battle test when I want to assess whether the opponent is too strong or too weak or whether I entered the skill strength value correctly.

This error appeared to me rarely, but it didn't interfere with further play because everything worked properly.

Original thread: https://forums.rpgmakerweb.com/threads/cannot-read-property-pages-of-null-help.175006/