Fatal Error / Sever requirements
-
I've uploaded the lay theme however when I activate it puts the whole site into a fatal error.
Fatal error: Cannot redeclare create_initial_rest_routes() (previously declared in /homepages/0/d4296193578/htdocs/wordpress/wp-includes/rest-api.php:221) in /homepages/0/d4296193578/htdocs/wordpress/wp-content/themes/lay/assets/inc/rest-api/plugin.php on line 152
I've looked around but can't seem to find any info on the server requirements for this theme.
Can you advise?
-
Dear @Savvy
Are you able to provide any more info about the Installation. Was it installed into > Appearance > Themes? or into the plugin area - also:
Wordpress, Lay Theme & Laytheme's Addons are all up to date ?
Any custom CSS or JS that may interfere is temporarily removed.
Any third-party plugins are de-activated to see if this resolves the issue.
Talk soon & best wishes
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