I was able to fix my problem.
I searched the “logs” for a long time and looked closely at all the messages, including the warning.
I found an object that references an external object that is causing a problem.
I found the external object on the map and deleted it.
Since then the error no longer occurs.