I am getting this same error without owning space expansion
Cannot save map: The mod Moon Logic 2 (0.1.7) caused a non-recoverable error.
Please report this error to the mod author.
Error while running event Moon_Logic_2::on_save()
Cannot serialise lua functions
After clearing all code from the combinator it still threw the error. Deleting all three combinators I was messing with allowed me to save again.
Edit: After building them again, and putting the same code I had in there, it let me save.
Edit 2: I originally had user(me) defined functions in there. Thinking that those might be what was causing it I rewrote it to all to not use the functions instead. It still failed to save before deleting the combinator. After deleting and replacing the combinator, and putting the same functionless code in there is when I could save.