Hello,
So after a bit of investigation, looks like its a little of some of my code, but also an issue with the amount of surfaces you have in your game.
So there was a few code errors with how i was trying to cycle through surfaces and pumpjacks, which I got sorted, but would then land on the same error as originally reported.
Well it turns out, you have 28 surfaces in your game, 3 of which are non-existent, surface 12/24/25. You can check yourself, if you run the command /c game.print(#game.surfaces), this will show 28 as the total number, if you then go from /c game.print(game.surfaces[1].name) to /c game.print(game.surfaces[28].name), you'll see many named surfaces which are OK, but 12/24/25 error.
I've tried to ignore them, remove them but to no avail, so unless Space Exploration is able to clean up the errored surfaces, my mod wont be able to work with your save.
Well done on the 812 hour save too, ive only logged 490+ hours in Factorio!