it happens to me repeatedly that suddenly the frontend is not displayed correctly (see screenshot attached). I see no trigger, it seems to happen without reason (just changing ordinary html-tags in a template). Even if I copy the template from the working live-system over to the broken dev-system, it is not working in the dev-system. Strange. In another thread, it was suspected that incorrect PHP code could be the cause. But that is not the case for me, if I remove the entire PHP code from the template, the error remains. BUT: If I turn off php in the template settings, the page works again. Similarly, the page works if I remove a larger Switchee branch.
Does anyone have any idea of what can be done here? Could switchee be the culprit? It hasn't been updated in 5 years after all. Thank you in advance for any help!
EDIT 26 Jan 2023
Actually the problem just vanished. A day later the error completely was gone. I know how that sounds, but definitely the problem just vanished. I also deleted all EE-caches while coping with the error, so it wasn't a caching-problem. Have to mention that there was a similar problem some weeks ago. Suddenly the live system AND the dev-system showed such errors. I solved it for both systems by emptying a template, saving and pasting the same(!) code into it. Sounds strange - and IS strange, therefore I really would appreciate any help!