How to Stop WordPress From Sending Emails Your Site is Experiencing a Technical Issue

How to Stop WordPress From Sending Emails Your Site is Experiencing a Technical Issue

WordPress sends emails when your site experiences a fatal error. This is handy for debugging and is useful to prevent a negative user experience.

But when you work on a demo site or on a site that is about to go live, you don’t need this email. Therefore, you may need to disable these emails. In this tutorial, I’ll show you how you can disable these emails.

Disabe WordPress “Your Site is Experiencing a Technical Issue” Emails

To stop WordPress from sending emails, paste the followoing code to your wp-config.php:

define(‘WP_DISABLE_FATAL_ERROR_HANDLER’, true);

Now, you can work freely. No email will bother you concerning a fatal error.

Let me know if the method works for you or not.

Spread the love

A teacher by profession, a traveler by passion and a netizen by choice.

Morshed Alam

You use WordPress! Why don't we share our experience! It may be a tutorial, tips, tricks or about security, performance or WordPress news. Write Today

Leave a Comment

Your email address will not be published. Required fields are marked *