Like the rest of you on this post I am getting the same error. It started after the 26 July 2024 1.108.335.1020 patch. I cannot figure out any action that triggers it. For me, when the error occurs it happens when traveling to any commercial (i.e. non-residential) building in Britechester. I have uninstalled all mods, repaired the game, and played with an older save that was created before any mods were installed. The error still occurs, usually after the third attempt to travel to a commercial building in Britechester. In my case it is the Laurel Library lot, but once the condition has been triggered traveling to any commercial building in Britechester results in the error.
I have found that after the error occurs if I then travel to a residential building in Britechester, everything works fine again. The steps I take:
1) receive error message;
2) click on "go back to world select";
3) click on the Sim household you were playing when the error was triggered;
4) select a Sim that was NOT the sim active when the error was triggered, otherwise you will not be able to reload the game from the world select screen (seems the game thinks that Sim is at the affected lot);
5) use any Sim from the household and travel to a residential lot in the affected world (in my case Britechester);
6) from there travel to a commercial lot in the affected world;
7) play the game as normal.
Doing this I have been able to make 8 trips to Britechester commercial lots without the game crashing.
Maybe this solution will work for others until EA fixes the bug. In the meantime, don't go through the hassle of testing mods et al. and deleting a bunch of your content as the mods are not the problem. I normally play the game with a handful of mods and no CC. Players on gaming platforms that don't allow mods are also getting this error. It's not you, it's EA.