What To Do With A WordPress Error Notice

Written by the Divi Engine Documentation Team

Introduction

Follow these steps to learn what to do with a code error notice.

What Are Code Error Notices?

From time to time your website may display code errors. Please know that these errors will either break your website (fatal) or not (non-fatal).

Non Fatal Errors

If your WordPress Divi website has a non-fatal error, your website will work as normal except for the existence of the notice.

Step 1: Find a Code Conflict

  • Disable all your plugins to see if the error notice goes away. If it does then reactivate your plugins one at a time to find the problem plugin. At this point, you will need to either delete the plugin or contact the plugin developer. 
  • If the code error does not go away after deactivating your plugins, then test to see if the error is from the Divi theme by deactivating Divi. If it is then you will need to contact Divi.
  • To test to see if the error is related to a Divi Engine plugin, deactivate all your plugins except your Divi Engine plugin to see if the notice goes away. If it does then reactivate your plugins one at a time to find the problem plugin. At this point, you will need to decide to either delete the plugin or contact the plugin developer. 
  • If, after deactivating all your plugins except your Divi Engine plugin, the error notice remains then the error notice is being generated by your Divi Engine plugin. At this point, send us the error notice and turn off your notices.

Step 2: Reset Permalinks

If, after testing for a code conflict the issue remains, then save your permalink structure twice by going to Settings > Permalinks.

Step 3: Turn Off Notices

Make your way to the wp-config.php file of your WordPress Divi website and, look for the following line.

define('WP_DEBUG', true);

Then change it to.

define('WP_DEBUG', false);

If this does not work, you will need to replace the define('WP_DEBUG', true); line of code with the following.

ini_set('display_errors','Off'); ini_set('error_reporting', E_ALL ); define('WP_DEBUG', false); define('WP_DEBUG_DISPLAY', false);

Fatal Errors

If your WordPress Divi website has a fatal error, then it will not be working as normal.

Step 1: Three Possible Solutions

If you can log in to the backend then do the following. If you cannot then you will need to gain access to your WordPress Divi website through the public.html folder.

  • Deactivate your plugins and see if the problem goes away. If it does then you have a plugin conflict. Find the problem plugin by activating your plugins one at a time.
  • If, after deactivating your plugins the issue remains, then save your permalink structure twice by going to Settings > Permalinks.
  • If the issue is not a plugin conflict or your permalinks then it could be a theme issue. Deactivate your theme to see if the issue goes away.

More Support?

Please email us at [email protected] if you are unable to get your Divi Engine plugin working.


Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.