How to display error messages on WordPress white screen of death


Ever had the dreaded WordPress “white screen of death”? Ever wondered why the F they don’t give you any indication as to what is causing the problem? Yeah me too.

 

Some kind of an error log would be nice and thankfully there is way to get these on the screen by adding the following two lines to your wp-config.php file:

error_reporting(E_ALL); ini_set('display_errors', 1);
define( 'WP_DEBUG', true);

Contact Me