Site becomes empty after update - Wordpress in Subdirectory
-
Hey there, i wanted to work on my new portfolio and updated Lay Theme to the newest version. Since then my site is not working at all > martinmelcher.de/wp
In the console there seems to be a problem with this address:
http://martinmelcher.de/wp-json/laytheme/search/
Failed to load resource: the server responded with a status of 404 (Not Found)
Obviously its not using the directory /wp. If i change the URL i get this:
http://martinmelcher.de/wp/wp-json/laytheme/search/
Undefined variable: this in <b>/var/www/virtual/mmelcher/html/wp/wp-content/themes/lay/search/search.php</b> on line <b>26</b><br /> {"code":"rest_invalid_handler","message":"Der Handler f\u00fcr die Route ist ung\u00fcltig","data":{"status":500}}
Disclaimer: I do not use any other plugins right now except the provided Lay Theme Plugins Carousel, Lightbox, Fullscreen Slider.
Help :)
-
-
@mmelcher can you please update lay theme again?
Thanks!If that does not fix your content not showing up, please write an email to: info@laytheme.com
with your website address, /wp-admin/ username, password and a link to this topic.Thanks!
-
Perfect! Happy to hear!
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