Theme crashed - because of Polylang?
-
Hi there,
I just tried to update Lay Theme to its newest version (which always worked without any problem, I have used Lay for years). However, this time it crashed and the whole website broke down. I can't access the regular backend (and frontend is just blank).
When I access in 'recovery mode', it tells me "Error: This theme failed to load properly and was paused within the admin backend."
Wordpress also sent me an automated email to notify me that the site was closed down. It tells me this:
Error Details
An error of type E_PARSE was caused in line 162 of the file /var/www/vhosts/hosting4638.af92e.netcup.net/httpdocs/wp-content/themes/lay/assets/plugins/post-duplicator-polylang/includes/class-post-duplicator-polylang.php. Error message: syntax error, unexpected '?'
What shall I do now?
Best regards!
Sarah -
Correction: The frontend is not just blank - the start page actually shows up (it's the 'category' page with a lot of thumbnails set as starting page) - but when you actually click on one of the thumbnails, all of the following project pages are just blank.
-
@alasdair17: Thank you for looking into this!
The link is http://studioranokel.de
And no, I still can't log in, at wp-admin it only tells me there has been a critical error.
I got an email that provided a link for "recovery mode" though. It works and I deactivated all of the plugins (which didn't change anything, as the problem seems to be about the theme). Now I'm at loss what to do, as I don't know what the error detail actually means...
-
@Sarah no problem! ahh, i think you'll need to speak to @arminunruh about this issue.
-
@alasdair17: Yeah... how do I do this, how can I reach him?![alt text](image url)
-
Circling back to this, I don't want to be annoying, but seriously, how do I do this? My website is still down, and I can't find any other option for support than this forum? Is there any chance to get support somewhere else, or to contact someone directly about it?
-
Update: As I needed the website, I restored my latest backup with an old Lay theme version, so you can`t see the error in action anymore.
However, I really beg you to look into this - I really wish to be able to update to the new Lay version (especially since it finally seems to support Polylang content duplication?)!
-
-
@alasdair17: Yeah, that's okay, you tried to help and I really appreciate it. Which instagram account can I check for info like this? It feels a bit like trying to reach into the void, if you don't know where to look and where to ask..
-
@Sarah https://www.instagram.com/laytheme/ here you go :)
-
@alasdair17: Thanx! :-)
-
hey there!
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
-
@arminunruh: Ah! Thank you so much!
-
sure, with the next update it'll be compatible with older versions of php
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