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.
-
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login