Parse error: website crash! help!
-
I just updated to the new version of laytheme and my website crashed. I cannot even login to the admin. I have no idea how to fix this. Can you please help?
Parse error: syntax error, unexpected '[' in /usr/home/elenagallen.com/web/wp-content/themes/lay/frontend/assets/php/row/row_functions.php on line 10
-
my website is www.elenagallen.com
my browser is Firefox running on MacOs High Sierra -
Dear @harrietbrown
Do you have any third-party plugins installed or CUSTOM JS code? Is it possible to deactivate it for a moment to see if the problem remains?
Many wishes!
Marius -
Dear @mariusjopen No, i have no custom JS codes or third party plugins as far as I know... And also, I cannot even login to the admin of wp anymore... cause the same error keeps popping up. I don't know how to login as the domain seems to have crashed when updating http://elenagallen.com/wp-admin/
pls let me know. i'm concerned.
-
Dear @harrietbrown
Can you login via FTP or WebFTP and rename the theme folder to laytheme_DEACTIVATED?
Then you can access Wordpress again.
Armin should have a look soon also.
Best!
Marius -
@mariusjopen said in Parse error: website crash! help!:
laytheme_DEACTIVATED
dear @mariusjopen i did, thank you for your suggestion. please let me know whenever you or armin have time to check, what else should i do in order to get my laytheme back up running safely.
best!!
-
hey you need to set your PHP version to a version like 7.3 in your webhost control panel
-
thanks! i finally managed to do so. this was causing all problems. thanks
-
Dear @harrietbrown
Perfect! Glad to hear!
Many wishes!
Marius
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