In the Editor, Elements is correctly objecting to this bit of PHP code 
I have now corrected the PHP code but before I did this, I right clicked on the error in the main Editor panel and clicked View Log.
Elements then locked up with a spinning coloured beachball and I had to Force Quit Elements to recover.
dan
(Dan)
2
Hmmm, can you re-create the issue? and what version of macOS are you on?
Well, I could consistently before I corrected the code.
I am on macOS Tahoe 26.0.1.
To help with the problem resolution, I have created a quick project to demonstrate the issue: elementsapp://downloadDocument/Dr6CIwZ1Uozc 