Can't help with that one.
if you look at the error message, it lists more than just my mod.
The summery for my mod is basically "Error in reset_technology_unlocks" which is a base game function.
So, the other mod mentioned in the error crashes because I call a base game function call...
The only "Fix" I could do is to not call the base game's function call... but it's in the base game, it might get called elsewhere anyway by another mod, or even the base game itself!