Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

  1. Home
  2. Bug Reports
  3. Site becomes empty after update - Wordpress in Subdirectory

Site becomes empty after update - Wordpress in Subdirectory

Scheduled Pinned Locked Moved Bug Reports
5 Posts 3 Posters 284 Views
  • 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 Offline
    M Offline
    mmelcher
    wrote on last edited by mmelcher
    #1

    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
    0
    • mariusjopenM Offline
      mariusjopenM Offline
      mariusjopen
      Global Moderator
      wrote on last edited by
      #2

      Dear @mmelcher
      I will check with Armin.

      Best!

      Marius

      www.mariusjopen.world

      1 Reply Last reply
      0
      • arminunruhA Offline
        arminunruhA Offline
        arminunruh
        Global Moderator
        wrote on last edited by
        #3

        @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
        0
        • M Offline
          M Offline
          mmelcher
          wrote on last edited by
          #4

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

          1 Reply Last reply
          1
          • mariusjopenM Offline
            mariusjopenM Offline
            mariusjopen
            Global Moderator
            wrote on last edited by
            #5

            Perfect! Happy to hear!

            www.mariusjopen.world

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            I also code custom websites or custom Lay features.
            šŸ’æ Email me here: šŸ’æ
            info@laytheme.com

            Before you post:
            1. When using a WordPress Cache plugin, disable it or clear your cache.
            2. Update Lay Theme and all Lay Theme Addons
            3. Disable all Plugins
            4. 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:
            1. Post a link to where the problem is
            2. Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
            3. 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
            laytheme.com
            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Recent
            • Tags
            • Popular
            • Users
            • Search