Fatal error: Cannot redeclare class Mobile_Detect in /
-
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
-
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.
-
Dear Julio
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 🌝
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