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
Try this to fix issues 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