• Resolved Carin

    (@sparksfreebies)


    The most important email for me from some of my websites is the There has been a critical error from wordpress itself because it has the recovery link in it, yesterday a site went down I got a notification from my uptime monitoring and I had the There has been a critical error on the wp-admin page but I never got the email, even in my spam. Is there a way to assure delivery of this email from wordpress, I did a test of wp mail smtp after I fixed the error-plugin problem, with a page builder, and the test came though just fine. Will wp mail smtp not work if there is a critical error on the site, that is very important for me. Thanks!! Carin

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Gregor Capuder

    (@capuderg)

    Hi Carin,

    it depends. The “There has been a critical error” email can be sent out, if the critical error is not caused too soon in the WP Core initialization process. If it’s caused very soon in that process, then our plugin can not load and send the email.

    Have a nice day!

    Thread Starter Carin

    (@sparksfreebies)

    Thank you for your quick response, it is very important to receive these emails do you know of a solution that will allow me to access the critical error emails despite their creation time? Do they not get sent out on certain conditions, or can they perhaps be accessed within the database by phpmyAdmin?

    Plugin Author Gregor Capuder

    (@capuderg)

    Hi Carin,

    with custom code you could hook into the WP fatal error handler and implement a direct communication channel (via email, sms, slack, …) with whatever 3rd party integration you would prefer. But that all would have to be custom code and is outside of our plugin’s scope, unfortunately.

    Usually WP fatal errors appear after some changes, like server PHP version upgrade or automatic plugin/theme/core updates. So you can minimize those by performing those updates manually (logging in and updating), and not have the plugins get auto-updated, when you are not logged in. If that might be an acceptable alternative solution to your problem? In this case, if something goes wrong, you are already at a computer and are able to resolve any fatal errors. This would minimize any potential downtime of your site.

    Have a nice day!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘There has been a critical error email not delivered’ is closed to new replies.