Support » Plugin: Disable Emails » Disable Emails

  • Resolved nonuniverse

    (@nonuniverse)


    Hello,

    I installed WordPress 6.0 yesterday. This error did not occur until this update. Now, when I send emails on my development site. I get a critical error. Since this is my development site, I’m not too worried, but I am worried about my staging site, where I use the same plugin. I did isolate the issue and it is definitely an error that only happens when Disable Emails is activated.

    Here is the error that is captured:

    [26-May-2022 06:24:14 UTC] PHP Fatal error:  Uncaught PHPMailer\PHPMailer\Exception: Invalid address:  (to):  in /home/urknownc/notify.ur-known.com/wp-includes/PHPMailer/PHPMailer.php:1092
    Stack trace:
    #0 /home/urknownc/notify.ur-known.com/wp-includes/PHPMailer/PHPMailer.php(1014): PHPMailer\PHPMailer\PHPMailer->addOrEnqueueAnAddress('to', '', '')
    #1 /home/urknownc/notify.ur-known.com/wp-content/plugins/disable-emails/includes/class.PHPMailerMock.php(227): PHPMailer\PHPMailer\PHPMailer->addAddress('', '')
    #2 /home/urknownc/notify.ur-known.com/wp-content/plugins/disable-emails/includes/class.PHPMailerMock.php(126): webaware\disable_emails\PHPMailerMock->_addTo('')
    #3 /home/urknownc/notify.ur-known.com/wp-content/plugins/disable-emails/includes/bootstrap.php(23): webaware\disable_emails\PHPMailerMock->wpmail('', '', '<!DOCTYPE html>...', '', Array)
    #4 /home/urknownc/notify.ur-known.com/wp-includes/user.php(2621): wp_mail('', '', '<!DOCTYPE html>...', '')
    #5 /home/urknownc/notify.ur-known.com/wp-admin/includes/user.php(227): wp_update_user(Array)
    #6 /home/ in /home/urknownc/notify.ur-known.com/wp-includes/PHPMailer/PHPMailer.php on line 1092

    I would appreciate your assistance.
    Best Regards,
    NoN Universe Administrator

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

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

    (@webaware)

    G’day nonuniverse,

    Thanks for the report. It looks like it’s failing on an invalid email address, so I’ll add that to my testing and get a fix out. Can you tell me what the invalid email address might have been, or what it resembles if it’s private info?

    cheers,
    Ross

    Plugin Author webaware

    (@webaware)

    Please update to version 1.8.1, just released. Thanks again for the bug report!

    cheers,
    Ross

    Thread Starter nonuniverse

    (@nonuniverse)

    Thank you for the fix. This is to confirm that your fix works. Bless you for the quick resolution.

    I have reported the missing email address situation to the BuddyBoss team. I hope that they are as quick as you are to resolve their side.

    Best Regards, Dianne

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.