• Resolved stevebrett

    (@stevebrett)


    For the last several email sent from both gravity forms and woocommerce have not been arriving. Ive reauthorized the lugin with google and also tried the ssl encryption based on another post here

    We are getting this error in our server log

    [Thu Aug 09 16:25:35.818675 2018] [:error] [pid 850] [client 206.35.36.2:21660] PHP Warning: Illegal string offset ‘refresh_token’ in /nas/content/live/griffinmuseumo/wp-content/plugins/gmail-smtp/main.php on line 685, referer: https://griffinmuseum.org/checkout/
    Cart – Griffin Museum of Photography

    Can you provide any guidance please

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • 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.

    Thread Starter stevebrett

    (@stevebrett)

    I revoked and reauthorized with out luck. I had to use a different plugin

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Plugin stopped working ? illegal string offset’ is closed to new replies.