Wordpress Fatal Error: cannot redeclare sanitize_url
-
Hi, I was running Laytheme on the domain tableofcontents.studio and attempted to access the site today, but now only receive the following error:
Fatal error: Cannot redeclare sanitize_url() (previously declared in /nfs/c01/h08/mnt/13741/domains/tableofcontents.studio/html/wp-includes/formatting.php:4480) in /nfs/c01/h08/mnt/13741/domains/tableofcontents.studio/html/wp-includes/deprecated.php on line 2040Any help on resolving this would be appreciated!
-
Dear John
@johndewey
If this suddenly happened i don't think it is a Lay Theme issue sorry. None of the recent updates have been know to cause this. (and i assume you only logged in, but didn't update or change everything)
You likely need to get in contact with your Webhost and ask them to help you 🌝
Sincerely
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