Force Show All Errors

Created by WP Fix It, Modified on Thu, 2 Oct at 8:49 AM by WP Fix It

Add this block to wp-config.php above the line that says “That’s all, stop editing!”:


/** Debugging */
define('WP_DEBUG', true);
define('WP_DEBUG_DISPLAY', true);   // show errors on-screen
define('WP_DEBUG_LOG', true);       // also log to /wp-content/debug.log
define('SCRIPT_DEBUG', true);       // use non-minified core scripts/styles (optional)
define('WP_DISABLE_FATAL_ERROR_HANDLER', true); // show fatals during dev (optional)

@ini_set('display_errors', 1);
@ini_set('log_errors', 1);
error_reporting(E_ALL);

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article