I have the same problem – mine started on Friday the 17th.
Any luck so far?
This is the series of errors I get. Other OAuth2 stuff works fine from that server using the same service account (calendar integration specifically).
I went to far as updating the google-api-php-client libraries, but I’m still getting the same error.
[Sun Aug 19 13:40:52 2018] [warn] [client 76.182.114.47] mod_fcgid: stderr: PHP Warning: Illegal string offset 'refresh_token' in /home/[redacted]/[redacted].com/wp-content/plugins/gmail-smtp/main.php on line 685, referer: https://www.[redacted].com/my-account/lost-password/
[Sun Aug 19 13:40:52 2018] [warn] [client 76.182.114.47] mod_fcgid: stderr: PHP Fatal error: Uncaught InvalidArgumentException: Invalid token format in /home/[redacted]/[redacted].com/wp-content/plugins/gmail-smtp/google-api-php-client/src/Google/Client.php:434, referer: https://www.[redacted].com/my-account/lost-password/
[Sun Aug 19 13:40:52 2018] [warn] [client 76.182.114.47] mod_fcgid: stderr: Stack trace:, referer: https://www.[redacted].com/my-account/lost-password/
[Sun Aug 19 13:40:52 2018] [warn] [client 76.182.114.47] mod_fcgid: stderr: #0 /home/[redacted]/[redacted].com/wp-content/plugins/gmail-smtp/class.phpmaileroauthgoogle.php(145): Google_Client->setAccessToken('{"access_token"...'), referer: https://www.[redacted].com/my-account/lost-password/
[Sun Aug 19 13:40:52 2018] [warn] [client 76.182.114.47] mod_fcgid: stderr: #1 /home/[redacted]/[redacted].com/wp-content/plugins/gmail-smtp/PHPMailer/class.smtp.php(475): GmailXOAuth2->getOauth64(), referer: https://www.[redacted].com/my-account/lost-password/
[Sun Aug 19 13:40:52 2018] [warn] [client 76.182.114.47] mod_fcgid: stderr: #2 /home/[redacted]/[redacted].com/wp-content/plugins/gmail-smtp/class.phpmaileroauth.php(152): SMTP->authenticate('', '', 'XOAUTH2', '', '', Object(GmailXOAuth2)), referer: https://www.[redacted].com/my-account/lost-password/
[Sun Aug 19 13:40:52 2018] [warn] [client 76.182.114.47] mod_fcgid: stderr: #3 /home/[redacted]/[redacted].com/wp-content/plugins/gmail-smtp/PHPMailer/class.phpmailer.php(1542): PHPMailerOAuth->smtpConnect(Array), referer: https://www.[redacted].com/my-account/lost-password/
[Sun Aug 19 13:40:52 2018] [warn] [client 76.182.114.47] mod_fcgid: stderr: #4 /home/[redacted]/[redacted].com/wp-content/plugins/gmail-smtp/PHPMailer/class.phpmailer.php(1337): PHPMailer->smtpSend('Date: Sun, 19 A...', '<!DOCTYPE html>...'), referer: https://www.[redacted].com/my-account/lost-password/
[Sun Aug 19 13:40:52 2018] [warn] [client 76.182.114.47] mod_fcgid: stderr: #5 /home/[redacted]/[redacted].com/wp-content/plugins/gm in /home/[redacted]/[redacted].com/wp-content/plugins/gmail-smtp/google-api-php-client/src/Google/Client.php on line 434, referer: https://www.[redacted].com/my-account/lost-password/
-
This reply was modified 7 years, 9 months ago by
jwd000.
I found a solution.
I just had to revoke access (just follow the instructions in the settings – Revoke Access tab), then connect again.
No idea what caused it, but it was easy enough to fix.
I revoked and reauthorized with out luck. I had to use a different plugin