
Debugging errors in WordPress can be made easier using the
WP_DEBUGoption. Enabling WP_DEBUG
displays WordPress errors on the screen, rather than suppressing
those errors with a white screen.
To enable WP_DEBUG, just set the option value to true:
define( 'WP_DEBUG', true );
New installations of WordPress will have this option defined
in wp-configas false. If this option is not defined, it defaults to
falseand error messages...