• Hi
    i had a critical error on teh website which i fixed by removing the plugin that was causing it.
    however it took over an hour to notice the error.
    is there a way for the admin to get an email notification when a website critical error occurs? and if possible to have the debug log or error in that email?
    i am not getting anything now until someone tells me about it.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator t-p

    (@t-p)

    Thread Starter ariban99

    (@ariban99)

    Hi
    it says its a PHP function, i am on a dedicated server, my PHP mail function works fine. ALL other emails work including if someone post a review or a comment on my website, i get those.
    however i do NOT get emails about my website being down due to a critical error. anywhere else i can look into to find out why? any setting?

    Dion

    (@diondesigns)

    If WordPress caught a fatal error, and its error handler encountered another fatal error before sending the email, PHP execution would halt immediately and the email would not be sent. It’s possible you encountered an error of this type.

    FYI, I checked the WP source, and it does appear that the details of the most recent error are included in the email.

    Thread Starter ariban99

    (@ariban99)

    that is possible, yes i dont have the error message as i took care of it right away to get my site back up.
    is there a way around that? if php got an error, is there an smtp relay or somehting as a backup?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘critical error admin email notification’ is closed to new replies.