Since WordPress 5.2, there is a built-in feature that detects when a plugin or theme causes a fatal error on your site and notifies you with this automated “error e-mail”.

We have all seen the e-mails, and nothing freaks folks out more than seeing this sort of message, usually regarding a plugin or two. However, the truth of the matter is that usually, this message is triggered by one major issue…memory.

To stop these errors from triggering e-mails non-stop, add the below code to your wp-config.php file.

define( 'WP_MEMORY_LIMIT', '256M' ); 
Previous PostNext Post

Leave a Reply

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