I had this same issue!
I was able to figure out how to fix it for me but I'm not sure if it will work for others. Just before I got the error message my sim was invited to a lot (in my case it was the park in Copperdale) and as the lot was loading after accepting the invitation it kicked me back to manage worlds with that error code. I did lots of messing with my mods, repairing the game and trying other households and nothing was working.
Here's what I did.
1. I had a look at the lot that my sims were traveling to (Trotter's park in Copperdale) and noticed that the park was in error because it was missing some of the lot requirements
2. loaded into that lot with no issues only to find that all lot requirements were fine and normal
3. went back to manage worlds and the lot was fixed (I didn't even do anything!)
4. loaded into my broken save with no further issues.
If your sims weren't traveling maybe check each world to make sure there are no broken lots?
I hope this helps some people out!