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
-
Hey! I get exactly the same problem as PiaZ. I have just "bought" a Lay Theme Free Version and when I activate the theme I get a Critical error... Can you help please?
-
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!
-
sorted it out through other forum thread:
u need to use a different php version
you need at least php 7
you can set your php version in your webhost control panel
-
oops
yea you need a php version that is up to date :O
I don't answer or check forum DMs, please just post on the forum.
Before you post:
Use the Search Feature. Maybe there is already a solution to your issue.
1. Update Lay Theme and all Lay Theme Addons
2. Disable all Plugins
3. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code ", click "Save Changes"
4. Now see if your problem solved itself
5. Go here, see if your problem is listed here:
Troubleshooting
When you post:
1. Post a link to where the problem is
2. If the problem is difficult to explain, post screenshots / link to a video to explain it