I managed to reproduce the error.
It arose when I changed the name of a button in the Visual Designer.
I saved the project after making the change and attach the zip.
I created a log and attach it.
The project now gives an error when opening the layout, which it didn't do before I made the change.