Undefined Class Constant VERSION
-
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.
- The topic ‘Undefined Class Constant VERSION’ is closed to new replies.