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.
-
That worked thank you so much for your help and amazing cms!
2/3
Need custom programming for your Lay Theme site?
I regularly add new features to Lay Theme for free, based on user feedback. But if you or your client need something more specific, I’m happy to offer custom paid programming tailored to your project.
Email info@laytheme.com with the subject "Custom paid programming for Lay Theme" and a short description of what you need — I’ll reply with a cost estimate.
Custom features I build often make it into future Lay Theme updates, so your idea might benefit the whole community.
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