WSOD but WP_DEBUG not giving any errors

Make things simpler by using this in wp-config.php:

define( 'WP_DEBUG', true );             /** debug on */
define( 'WP_DEBUG_LOG', true );         /** log enabled */
define( 'WP_DEBUG_DISPLAY', true);      /** display enabled */

The @ini_set('display_errors', 0); may be breaking the WP_DEBUG error display and logging by calling the native PHP error reporting at the same time.

Leave a Comment