Lay Theme Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    Site becomes empty after update - Wordpress in Subdirectory

    Bug Reports
    3
    5
    245
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      mmelcher last edited by mmelcher

      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 :)

      1 Reply Last reply Reply Quote 0
      • mariusjopen
        mariusjopen Global Moderator last edited by

        Dear @mmelcher
        I will check with Armin.

        Best!

        Marius

        www.mariusjopen.world

        1 Reply Last reply Reply Quote 0
        • arminunruh
          arminunruh Global Moderator last edited by

          @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!

          1 Reply Last reply Reply Quote 0
          • M
            mmelcher last edited by

            It's working again, The Update fixed it. Thanks!

            1 Reply Last reply Reply Quote 1
            • mariusjopen
              mariusjopen Global Moderator last edited by

              Perfect! Happy to hear!

              www.mariusjopen.world

              1 Reply Last reply Reply Quote 0
              • First post
                Last post

              Before you post

              Use the Search Feature. Maybe there is already a solution to your issue.

              1. Update Lay Theme and all Lay Theme Addons
              2. Disable all Plugins
              3. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code ", click "Save Changes"
              4. Now see if your problem solved itself
              5. Go here, see if your problem is listed here:
              Troubleshooting

              When you post:
              1. Post a link to where the problem is
              2. If the problem is difficult to explain, post screenshots / link to a video to explain it

              Thanks!

              Online Users

              Recent Topics

              • N

                website blank.

              • S

                Theme crashed - because of Polylang?

              • S

                New fade-in / opacity bug?

              • A

                Unable to update lay theme / to login wp admin

              laytheme.com