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. General Discussion
  3. Fatal error: Cannot redeclare class Mobile_Detect in /

Fatal error: Cannot redeclare class Mobile_Detect in /

Scheduled Pinned Locked Moved General Discussion
4 Posts 2 Posters 74 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.
  • J Offline
    J Offline
    Juls
    wrote on Sep 18, 2021, 3:40 PM last edited by
    #1

    Hi!! I just updated my lay theme and now I cannot access to my web at all. I have my web since 2017 I think and I never updated anything, this weekend I wanted to start working on it but now is impossible, I lost all access. That means, I don't even get the option to login as admin. The only text that appears is:

    Fatal error: Cannot redeclare class Mobile_Detect in /home/.sites/20/site9918335/web/wp-content/themes/lay/assets/mobile_detect/Mobile_Detect.php on line 24

    I cannot even find my licence key omg I really need help!! my web: www.julioescudero.com , my mail contact@julioescudero.com

    1 Reply Last reply
    0
    • J Offline
      J Offline
      Juls
      wrote on Sep 18, 2021, 4:03 PM last edited by
      #2

      My web host had a backup, but as soon as I update Laytheme, happened again...
      I'll keep everything as it was but I really want to update, the web loads so slow!

      1 Reply Last reply
      0
      • J Offline
        J Offline
        Juls
        wrote on Sep 19, 2021, 11:39 AM last edited by
        #3

        Today I updated to PHP 7.8, also all the plug ins and Wordpress 5.8.1. After that I tried to update Laytheme again and my website crashed one more time. So I recovered my page again with my web host backup but now I cannot modify my posts at all. I want to update my "About" info but I cannot edit anything. Sooo annoying!! Please some help? I think my Laytheme version is too old but I cannot update it without crashing my webpage.

        1 Reply Last reply
        0
        • R Offline
          R Offline
          Richard
          Global Moderator
          wrote on Sep 20, 2021, 11:39 PM last edited by
          #4

          Dear Julio

          @Juls

          Sorry to hear that you are having such trouble, also the wait over the weekend for a reply.
          If you would like to email me at: lostfiles@laytheme.com with your login information and link to this thread I can take a better look at what the problem may be. 🔍

          I can also provide any versions of Lay Theme files and track down your license key for you. It was known that PHP version 8.0 caused issue for some user's but was not common - 7.8 should be fine.

          Note: please do not disclose any of your personal details on this thread.

          Also emailing is probably better for a back and forth conversation about your website and how to remedy the problem!


          Talk soon Julio, if you have any other questions please feel free!
          Richard 🌝
          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes

          2/4

          Sep 18, 2021, 4:03 PM


          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.
          2 out of 4
          • First post
            2/4
            Last post
          0
          • Recent
          • Tags
          • Popular
          • Users
          • Search