Add `WP_DISABLE_FATAL_ERROR_HANDLER=true` constant to development
strarsis opened this issue · comments
Summary
WordPress automatically sends an admin email when a fatal PHP error is encountered.
However, this is usually not intended in development (it is very annoying/confusing actually).
Setting the WP_DISABLE_FATAL_ERROR_HANDLER
constant to true
prevents sending those WordPress admin error emails.
Config::define('WP_DISABLE_FATAL_ERROR_HANDLER',true);