• Resolved dletell

    (@dletell)


    I am receiving the following error when sending any site mail whatsoever. It appears that when this plugin is activated alongside any plugin that sends authenticated mail (such as WP Mail SMTP), there is a fatal website error:

    Fatal error: Cannot declare class PHPMailer\PHPMailer\SMTP, because the name is already in use in (redacted)/wp-includes/PHPMailer/SMTP.php on line 30
    There has been a critical error on your website. Please check your site admin email inbox for instructions.

    I have reached out to WP Mail SMTP developers, who indicate that your plugin is incorrectly defining this class before WP core can define PHPMailer.

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Upi

    (@upi)

    Hello,
    thanks for reporting this.
    We’ll take it to the dev team and make sure we respond to it.
    Please try also changing the Email setting on the menu and let us know if you still get this error ?

    Thanks,
    URi

    Thread Starter dletell

    (@dletell)

    It does not appear that adjusting any email setting solves this issue. The only surefire way to avoid this is deactivating the plugin entirely.

    Plugin Author Upi

    (@upi)

    Hello,
    we think it’s somtinhg unique with your servers, as we haven’t heard of this issue from our community until now.
    please contact us directly on our web site for direct support.
    Thanks
    Uri

    Thread Starter dletell

    (@dletell)

    It looks like I’d have to pay first. I see that it says if it’s your bug you’d refund it, but I don’t rely on the plugin enough to justify the cost.

    That being said I do see three other recent posts for the same issue. Though their issues manifest as the forms stalling and I don’t know if they dug into the debugger enough to generate error codes, I suspect the fact that they disabled mailer and it worked indicates to me that it’s a plugin glitch, perhaps related to pulling a depreciated version of PHPMailer.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Fatal Error on WP 5.5 using PHPMailer’ is closed to new replies.