• Resolved AnimeSubways

    (@animesubways)


    After updating to WP 5.5 and switched to PHP V7 I can’t send test emails anymore.

    Clicking on the button “send test mail” triggers following error:
    Fatal error: Cannot declare class PHPMailer\PHPMailer\SMTP, because the name is already in use in /home/public_html/mysite/wp-includes/PHPMailer/SMTP.php on line 30

    I am using all standard settings with your plugin.

    Can you provide a quick fix for this please?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Darshana

    (@darshanaw)

    Hi @animesubways,

    The latest version of WP Mail SMTP plugin is compatible with the new WordPress 5.5 update release.

    Also, our plugin does not require the SMTP class/file if it already exists. Usually, it’s required and initialized by WP core, but some plugins are doing it manually without checking for the class existence before doing so and that is why you’re getting this error.

    First, make sure that you’re fully updated including your WordPress theme and other plugins.

    If you’re still having issues, you need to deactivate your 3rd party plugins and activate them one by one to see which plugin causing this issue.

    I hope this helps!

    Plugin Support Darshana

    (@darshanaw)

    We haven’t heard from you in about a week, so I’m going to go ahead and mark this ticket resolved. If you still have questions, though, please feel welcome to continue the conversation.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fatal error: Cannot declare class PHPMailer\PHPMailer\SMTP, name is in use’ is closed to new replies.