Support » Plugin: Gmail SMTP » Undefined Class Constant VERSION

  • Resolved 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/ Stack trace: #0 /var/www/vhosts/ Google_Client->createDefaultHttpClient() #1 /var/www/vhosts/ Google_Client->getHttpClient() #2 /var/www/vhosts/ Google_Client->fetchAccessTokenWithAuthCode(‘4/3AEDCyskHG8KG…’) #3 /var/www/vhosts/ Google_Client->authenticate(‘4/3AEDCyskHG8KG…’) #4 /var/www/vhosts/ GmailXOAuth2::resetCredentials(‘4/3AEDCyskHG8KG…’) in /var/www/vhosts/ on line 1042

    I’m running PHP 7.3.21.

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


    Here’s the complete server info:

    OS: Linux 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

    I got the same error. Did you resolved it?

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

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