I found a bug
-
Hi all,
I’m using ‘Gmail SMTP plug-in’ version 1.1.9.
I have found a bug, due to this bug, emails cannot be sent.Error logs:
2020-07-29 02:46:52 Auth method requested: XOAUTH2 2020-07-29 02:46:52 Auth methods available on the server: LOGIN,PLAIN,XOAUTH2,PLAIN-CLIENTTOKEN,OAUTHBEARER,XOAUTH SMTP Error: Could not authenticate. 2020-07-29 02:46:52 CLIENT -> SERVER: QUIT 2020-07-29 02:46:52 SMTP -> get_lines(): $data is "" 2020-07-29 02:46:52 SMTP -> get_lines(): $str is "221 2.0.0 closing connection qw7qm409151ffx.46 - gsmtp" 2020-07-29 02:46:52 SERVER -> CLIENT: 221 2.0.0 closing connection qw7qm409151ffx.46 - gsmtp 2020-07-29 02:46:52 Connection: closed SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
Server info:
OS: Linux xxxxxxxxxxx.com 3.10.0-1127.10.1.el7.x86_64 #1 SMP Wed Jun 3 14:28:03 UTC 2020 x86_64 PHP version: 7.4.8 WordPress version: 5.4.2 WordPress multisite: No openssl: Available allow_url_fopen: Enabled stream_socket_client: Available fsockopen: Available cURL: Available cURL Version: 7.70.0, OpenSSL/1.0.2k-fips
The error ONLY occurs when the user has the plug-in ‘WooCommerce PDF Invoices & Packing Slips version 2.5.3’ activated in combination with PHP-version 7.3 or higher.
So, if the user downgrades the PHP-version to 7.2 OR deactivate the plug-in ‘WooCommerce PDF Invoices & Packing Slips’ then the error/bug is solved.
Of course this is not a sustainable solution. Either the author of ‘WP Gmail SMTP’ or ‘WooCommerce PDF Invoices & Packing Slips’ should fix the bug.
Thanks in advance!
Cheers,
Konijn from The Netherlands
- The topic ‘I found a bug’ is closed to new replies.