Quantcast
Viewing all articles
Browse latest Browse all 5027

500 Error on Email Test using GMail as a mailer

Replies: 0

Hello,

I’m getting a “HTTP ERROR 500” when I’m trying to test the WP Mail SMTP plugin.

I looked into the error log just after I received this error and this is what I’m seeing:

[16-Apr-2019 14:27:43 UTC] PHP Fatal error: Uncaught Google_Auth_Exception: Could not json decode the token in /home/public_html/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Auth/OAuth2.php:186
Stack trace:
#0 /home/public_html/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Client.php(218): Google_Auth_OAuth2->setAccessToken(NULL)
#1 /home/public_html/wp-content/plugins/wp-mail-smtp/src/Providers/Gmail/Auth.php(121): Google_Client->setAccessToken(Array)
#2 /home/public_html/wp-content/plugins/wp-mail-smtp/src/Providers/Gmail/Auth.php(53): WPMailSMTP\Providers\Gmail\Auth->get_client()
#3 /home/public_html/wp-content/plugins/wp-mail-smtp/src/Providers/Gmail/Mailer.php(79): WPMailSMTP\Providers\Gmail\Auth->__construct()
#4 /home/public_html/wp-content/plugins/wp-mail-smtp/src/MailCatcher.php(105): WPMailSMTP\Providers\Gmail\Mailer->send()
#5 /home/public_html/wp-includes/pluggable.php(488): WPMailSMTP\MailCatcher->send()
#6 /home/p in /home/public_html/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Auth/OAuth2.php on line 186

If I disable the “Simple Calendar” plugin (by Simple Calendar) I am able to successfully send a Test email from the WP Mail SMTP plugin.

I need the Simple Calendar plugin, so it’s not an option to just remove it.

Is there something you could help me with?

Thanks,
Andres


Viewing all articles
Browse latest Browse all 5027

Trending Articles