How to disable the fatal error (WSOD) protection?
We can modify the bool output of the wp_is_fatal_error_handler_enabled() function in two ways: Constant Set the WP_DISABLE_FATAL_ERROR_HANDLER constant to true within the wp-config.php file: /** * Disable the fatal error handler. */ const WP_DISABLE_FATAL_ERROR_HANDLER = true; or define( ‘WP_DISABLE_FATAL_ERROR_HANDLER’, true ); Filter Use wp_fatal_error_handler_enabled bool filter: /** * Disable the fatal error handler. */ add_filter( … Read more