Add WP_DISABLE_FATAL_ERROR_HANDLER=true
constant to development
#711
Labels
WP_DISABLE_FATAL_ERROR_HANDLER=true
constant to development
#711
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 totrue
prevents sending those WordPress admin error emails.Additional context
https://wordpress.stackexchange.com/a/361002/134384
The text was updated successfully, but these errors were encountered: