Search
Close this search box.

Show all errors on a WordPress site

Say you want to display all errors on a WordPress website.

Open the config.php file and add the below code.

define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
define('WP_DEBUG_DISPLAY', true);
@ini_set('display_errors', E_ALL);

 

 

ini_set('display_errors', 1); ini_set('display_startup_errors', 1); error_reporting(E_ALL & ~E_WARNING & ~E_USER_WARNING & ~E_NOTICE & ~E_USER_NOTICE & ~E_DEPRECATED & ~E_USER_DEPRECATED & ~E_STRICT);

 

Share the Post:

Related Posts

Jquery Basics

The minimium required Jquery setup should be inlcuded in the head of the HTML document and includes a link to

Read More