Added Fix3 to the header.
I don't know what's wrong, but I tried several times, and it seems that the January version of VCMI is simply glitching, because I installed it with only three mods, and even without any mods (just left an empty field), and I chose different map conditions, but it still writes the same thing.
There were no such problems with Fix2.
P.S.: If anything, I installed the patch on the game with FIX2, and when the described error appeared, I completely reinstalled the game and installed FIX3 right away. But unfortunately, it didn't help. Luckily, I didn't delete the Fix2 patch from my flash drive.