hello, i seem to be having the same error, it began after i saved my game on gleba to go get a high contrast mod (probably unrelated, error still happens without it), also, my autosaves are having the same issue, here is my save game, though it has quite a few mods, and isn't setup well in regards to performance
https://drive.google.com/file/d/1Os0gub616dnv_X8vfpCGHGeQ0udfP6kq/view?usp=sharing
factorio version: 2.0.21
also, i uncommented the print statements you had near where the error was, and here is their output (i currently only have cannons in orbit of nauvis and vulcanus)
OrbitalIonCannon:OnInit
Update cannon force ''player'' {{0, 1, "nauvis"}, {0, 1, "nauvis"}, {0, 1, "nauvis"}, {0, 1, "vulcanus"}, {0, 1, "vulcanus"}, {0, 1, "vulcanus"}, {0, 1, "nauvis"}, {0, 1, "nauvis"}, {0, 1, "nauvis"}, {0, 1, "nauvis"}, {0, 1, "nauvis"}, {0, 1, "nauvis"}, {0, 1, "nauvis"}, {0, 1, "nauvis"}, {0, 1, "nauvis"}, {0, 1, "nauvis"}, {0, 1, "nauvis"}, {0, 1, "nauvis"}, {0, 1, "nauvis"}, {0, 1, "nauvis"}, {0, 1, "nauvis"}, {0, 1, "nauvis"}, {0, 1, "nauvis"}, {0, 1, "nauvis"}, {0, 1, "nauvis"}, {0, 1, "nauvis"}}
Update cannon force ''Queue'' {"[LuaEntity: gleba-spawner-small at [gps=-206.6,267.1,gleba]]"}