Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Noor Alam

    (@naa986)

    Hi, The error seems to be coming from “gmail-smtp-disable”. Have you renamed the plugin folder?

    Same error here on Divi Theme. Also a weird error trying to load new media items, it seems to go through the media upload but fails creating the thumbnail with cryptic note “HTML Error” within the WP Dashboard with everything else working just fine… not a fatal interruptive error like the login. Since they both popped up at the same time, I disable the plugin, and both issues go away. Cleared all caches, everything else is updated and playing nice. Whenever I enable the plugin I start to have errors again.

    Plugin Author Noor Alam

    (@naa986)

    @erik-haagenstuff, Can you please copy and paste the errors here? As of 1.1.4 the plugin only includes the necessary libraries (Google API Client & PHPMailer) in the settings area and when the wp_mail function is called to send an email. So I’m not sure how it’s causing an issue in the media upload or login.

    Thread Starter the_natural

    (@the_natural)

    Coud it be related to wordfence firewall? I’ve had issues with upload before with wordfence firewall activated. Here is the message. I get it with the latest version of php v5.6 and 7.0.

    Fatal error: Uncaught InvalidArgumentException: Invalid token format in /home/dh_v2zkue/amiadev.earlymotion.com/wp-content/plugins/gmail-smtp/google-api-php-client/src/Google/Client.php:434 Stack trace: #0 /home/dh_v2zkue/amiadev.earlymotion.com/wp-content/plugins/gmail-smtp/class.phpmaileroauthgoogle.php(138): Google_Client->setAccessToken(‘{“access_token”…’) #1 /home/dh_v2zkue/amiadev.earlymotion.com/wp-content/plugins/gmail-smtp/PHPMailer/class.smtp.php(470): GmailXOAuth2->getOauth64() #2 /home/dh_v2zkue/amiadev.earlymotion.com/wp-content/plugins/gmail-smtp/class.phpmaileroauth.php(152): SMTP->authenticate(”, ”, ‘XOAUTH2’, ”, ”, Object(GmailXOAuth2)) #3 /home/dh_v2zkue/amiadev.earlymotion.com/wp-content/plugins/gmail-smtp/PHPMailer/class.phpmailer.php(1540): PHPMailerOAuth->smtpConnect(Array) #4 /home/dh_v2zkue/amiadev.earlymotion.com/wp-content/plugins/gmail-smtp/PHPMailer/class.phpmailer.php(1335): PHPMailer->smtpSend(‘Date: Mon, 4 Se…’, ‘This email was …’) #5 /home/dh_v2zkue/amiadev.earlymotion.com/wp-cont in /home/dh_v2zkue/amiadev.earlymotion.com/wp-content/plugins/gmail-smtp/google-api-php-client/src/Google/Client.php on line 434

    Here is the login error….

    Warning: Illegal string offset ‘refresh_token’ in /home/downdog/staging/2/wp-content/plugins/gmail-smtp/main.php on line 681

    Fatal error: Uncaught exception ‘InvalidArgumentException’ with message ‘Invalid token format’ in /home/downdog/staging/2/wp-content/plugins/gmail-smtp/google-api-php-client/src/Google/Client.php:434 Stack trace: #0 /home/downdog/staging/2/wp-content/plugins/gmail-smtp/class.phpmaileroauthgoogle.php(138): Google_Client->setAccessToken(‘”{\\”access_toke…’) #1 /home/downdog/staging/2/wp-content/plugins/gmail-smtp/PHPMailer/class.smtp.php(470): GmailXOAuth2->getOauth64() #2 /home/downdog/staging/2/wp-content/plugins/gmail-smtp/class.phpmaileroauth.php(153): SMTP->authenticate(”, ”, ‘XOAUTH2’, ”, ”, Object(GmailXOAuth2)) #3 /home/downdog/staging/2/wp-content/plugins/gmail-smtp/PHPMailer/class.phpmailer.php(1540): PHPMailerOAuth->smtpConnect(Array) #4 /home/downdog/staging/2/wp-content/plugins/gmail-smtp/PHPMailer/class.phpmailer.php(1335): PHPMailer->smtpSend(‘Date: Thu, 7 Se…’, ‘This email was …’) #5 /home/downdog/staging/2/wp-content/plugins/gmail-smtp/PHPMailer/class.phpmailer.php(1213): PHPMailer->postSend() #6 in /home/downdog/staging/2/wp-content/plugins/gmail-smtp/google-api-php-client/src/Google/Client.php on line 434

    I also have the WordFence plugin activated.

    On the media upload in media library, it presents the blank thumbnail with status bar as it uploads, when the bar gets to the end, this message appears at the top of the dashboard in a box…

    Filename.jpg
    HTTP error.

    When you dismiss it and reload the page, there is an extra item in the media library. It just has no thumbnail created. So it seems to upload in the database and crash in the post-upload processing.

    I delete the image, then disable the plugin, then try it again and no error. Delete the image, reactivate the plugin, then try it again and I get the error.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Getting error on login after update’ is closed to new replies.