Parse error > Website crashes
-
Dear @mariusjopen, @arminunruh
Since the last update of Lay, my website is not working anymore :- Parse error: syntax error, unexpected '[', expecting ')' in /home/lorisper/www/wp-content/themes/lay/search/search.php on line 113
Everything else is up to date, there is my page.
Please, can you fix the issue as soon as possible?Thank you!
Best,
Loris -
Hi @mariusjopen and @arminunruh
Same problem here with my website, updated to the last version and then went down.
Please help me!
Thanks
F -
-
Dear @mariusjopen
I have deleted some characters in the coding > /home/lorisper/www/wp-content/themes/lay/search/search.php on line 113
I have no idea if that was good, but yet the website is working now. But it was not working with the update. Could you have a look on that error to make it not happen within the next Lay update?
Thanks and best,
Loris -
Dear @Loris
we don't recommend to edit those files.When you have the new update running and the problem still remains – can you let us know?
Best!
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