Uncaught Error: Undefined class constant ‘VERSION’
-
First, Thank you for this plugin, it is very good.
I have a problem with “Post SMTP Mailer/Email Log”. It works fine, but if I use “mailerlite” integration with woocommerce, I get an error and no more emails are sending.
Is I use “Mailerlite plugin” without woocommerce integration, it works fine.This is the error trace in server:
[error] FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught Error: Undefined class constant ‘VERSION’ in /home/user/web/xxxx.com/public_html/wp-content/plugins/post-smtp/Postman/Postman-Mail/google-api-client/vendor/google/apiclient/src/Google/Client.php:1042
Stack trace:
#0 /home/user/web/xxxx.com/public_html/wp-content/plugins/post-smtp/Postman/Postman-Mail/google-api-client/vendor/google/apiclient/src/Google/Client.php(1032): Google_Client->createDefaultHttpClient()
#1 /home/user/web/xxxx.com/public_html/wp-content/plugins/post-smtp/Postman/Postman-Mail/google-api-client/vendor/google/apiclient/src/Google/Client.php(356): Google_Client->getHttpClient()
#2 /home/user/web/xxxx.com/public_html/wp-content/plugins/post-smtp/Postman/Postman-Mail/google-api-client/vendor/google/apiclient/src/Google/Client.php(786): Google_Client->authorize()
#3 /home/user/web/xxxx.com/public_html/wp-content/plugins/post-smtp/Postman/Postman-Mail/google-api-client/vendor/google/apiclient/src/Go” while reading response header from upstream, client: xx.xx.xx.xx, server: xxxx.com, request: “POST / HTTP/1.1”, upstream: “fastcgi://unix:/run/php/php7.4-fpm-xxxx.com.sock:”, host: “xxxx.com”, referrer: “https://xxxx.com/”`Any ideas about this error?
Thank you.
- The topic ‘Uncaught Error: Undefined class constant ‘VERSION’’ is closed to new replies.