• Resolved bkonia

    (@bkonia)


    I’m getting the following error on the redirect URL page after authenticating with Google:

    Fatal error: Uncaught Error: Undefined class constant ‘VERSION’ in /var/www/vhosts/clinicalmatchme.com/httpdocs/wp-content/plugins/gmail-smtp/google-api-php-client/src/Google/Client.php:1042 Stack trace: #0 /var/www/vhosts/clinicalmatchme.com/httpdocs/wp-content/plugins/gmail-smtp/google-api-php-client/src/Google/Client.php(1032): Google_Client->createDefaultHttpClient() #1 /var/www/vhosts/clinicalmatchme.com/httpdocs/wp-content/plugins/gmail-smtp/google-api-php-client/src/Google/Client.php(190): Google_Client->getHttpClient() #2 /var/www/vhosts/clinicalmatchme.com/httpdocs/wp-content/plugins/gmail-smtp/google-api-php-client/src/Google/Client.php(170): Google_Client->fetchAccessTokenWithAuthCode(‘4/3AEDCyskHG8KG…’) #3 /var/www/vhosts/clinicalmatchme.com/httpdocs/wp-content/plugins/gmail-smtp/class.phpmaileroauthgoogle.php(100): Google_Client->authenticate(‘4/3AEDCyskHG8KG…’) #4 /var/www/vhosts/clinicalmatchme.com/httpdocs/wp-content/plugins/gmail-smtp/main.php(144): GmailXOAuth2::resetCredentials(‘4/3AEDCyskHG8KG…’) in /var/www/vhosts/clinicalmatchme.com/httpdocs/wp-content/plugins/gmail-smtp/google-api-php-client/src/Google/Client.php on line 1042

    I’m running PHP 7.3.21.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter bkonia

    (@bkonia)

    Here’s the complete server info:

    OS: Linux mail.hostland.com 4.4.0-1099-aws #110-Ubuntu SMP Fri Nov 15 00:08:08 UTC 2019 x86_64
    PHP version: 7.3.21
    WordPress version: 5.5
    WordPress multisite: No
    openssl: Available
    allow_url_fopen: Enabled
    stream_socket_client: Available
    fsockopen: Available
    cURL: Available
    cURL Version: 7.47.0, OpenSSL/1.0.2g

    movss

    (@movss)

    I got the same error. Did you resolved it?

    movss

    (@movss)

    Just disable and re-enable SMTP Plugin and the error gone. Fine )

    • This reply was modified 4 years ago by movss.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Undefined Class Constant VERSION’ is closed to new replies.