• Resolved eseyo

    (@eseyo)


    Have recently migrated a site over to WP Engine hosting where all of my sites live. Have installed the WP Mail SMTP Plugin and set it up to use the SendGrid API, which is a new one that i have also setup and checked.

    When I try to send a test message i get the following error message showing up:
    “The site is experiencing technical difficulties. Please check your site admin email inbox for instructions.”

    And then in my error logs see the following error:

    HP Fatal error: Uncaught TypeError: Argument 1 passed to WPMailSMTP\\Providers\\MailerAbstract::__construct() must be an instance of WPMailSMTP\\MailCatcher, instance of WPSparkPost\\SparkPostHTTPMailer given, called in /nas/content/live/ashwellstimber/wp-content/plugins/wp-mail-smtp/src/Providers/Sendgrid/Mailer.php on line 43 and defined in /nas/content/live/ashwellstimber/wp-content/plugins/wp-mail-smtp/src/Providers/MailerAbstract.php:79\nStack trace:\n#0 /nas/content/live/ashwellstimber/wp-content/plugins/wp-mail-smtp/src/Providers/Sendgrid/Mailer.php(43): WPMailSMTP\\Providers\\MailerAbstract->__construct(Object(WPSparkPost\\SparkPostHTTPMailer))\n#1 /nas/content/live/ashwellstimber/wp-content/plugins/wp-mail-smtp/src/Providers/Loader.php(188): WPMailSMTP\\Providers\\Sendgrid\\Mailer->__construct(Object(WPSparkPost\\SparkPostHTTPMailer))\n#2 /nas/content/live/ashwellstimber/wp-content/plugins/wp-mail-smtp/src/Providers/Loader.php(144): WPMailSMTP\\Providers\\Loader->get_entity(‘sendgrid’, ‘Mailer’)\n#3 /nas/content/live/ashwellstimber/w in /nas/content/live/ashwellstimber/wp-content/plugins/wp-mail-smtp/src/Providers/MailerAbstract.php on line 79

    Does anyone have any advice or solutions to get this working for me please?

Viewing 2 replies - 1 through 2 (of 2 total)
  • HI @eseyo,

    The error seems to be due to the code conflict with the WPSparkPost plugin you’re using. Deactivating the plugin should fix the issue.

    I hope this helps!

    Hi @eseyo – 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 ‘Wont work with SendGrid on WP Engine?’ is closed to new replies.