Tried to perform update and bricked my site! Please help!
-
Hi Armin,
I tried to update my site to the latest lay theme by clicking the update button in wordpress and now my site is completely down with this error:
Fatal error: Call to undefined function get_rest_url() in /data/23/4/124/22/4287837/user/4892414/htdocs/wp-content/themes/lay/assets/inc/rest-api/extras.php on line 30
Is there any way to recover or revert back?
Thanks!
David -
Hey David!
You need to login to your ftp using filezilla for example. Then you need to go to your wordpress folder. Enter the folder "wp-content" -> "themes". Inside, rename "lay" to "lay2".Now login to your wordpress and update wordpress. Afterwards in your ftp rename the folder "lay2" to "lay" again.
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
Online Users
Forgot your key, lost your files, need a previous Lay Theme or Addon version?
Go to www.laykeymanager.com