Hello,
I have basic Joomla 4.2.2. site , recently upgraded from Joomla 3.10.x
It only has the default template - I have removed all other templates.
I installed OnePage template only and when I switch to it I get a 500 error.
When the debug is switched on I see it is a parse error:
"Unclosed '{' on line 72" on the home page.
![https://drive.google.com/file/d/1Sb6lQqkBnbA_0OfxK1cr1uruQ3eI0S5p/view?usp=sharing]
Since posting this issue, I also installed a J4 Quickstart version of the Onepage template (fresh install).
Everything worked OK, until I switched to the SP Page Builder Pro component and the 'Frontend Editor' to edit the home page.
Immediately I got the same parse error.
Then I changed the PHP version from 8.0 to 7.4 and the templates started to work.
When I switched again to PHP 8.1 the templates are working again BUT only if the 'debug' mode is on & reporting is set to 'maximum'.