Critical error after activating the theme in WP
-
I installed the LAY theme yesterday and I can not activate it. The installation works, but when I activate the template, a wordpress error message appears (Critical error ...) and I can no longer log into wordpress.
I can then delete the theme in the FTP, as described in the forum, but with a new installation it is the same. Plugins do not exist yet, the wordpress installation is pretty 'fresh'. Thanks for your support. -
hey i wrote u back an email
-
I run a debug log and found this error:
[24-Mar-2023 15:59:39 UTC] PHP Parse error: syntax error, unexpected '?' in /home2/estufadesign/anansesem.org/wp-content/themes/lay/assets/plugins/post-duplicator-polylang/includes/class-post-duplicator-polylang.php on line 162
Hope it helps you sorting out the problem. Thanks!
-
oops
yea you need a php version that is up to date :O
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it