many thanks.
]]>I wonder if the plugin is fully working with wordpress 5.7 (hint: i guess it is, so far).
Moreover, the plugin “wp php compatibility checker” raised this issues wit WP-Matomo Integration 1.0.24 and PHP 7.3 on my server. Do you have any comments?
FILE: /var/www/mydomain.com/wp-content/plugins/wp-piwik/proxy/matomo.php
———————————————————————————————————
FOUND 1 ERROR AFFECTING 1 LINE
———————————————————————————————————
98 | ERROR | INI directive ‘magic_quotes_runtime’ is deprecated since PHP 5.3 and removed since PHP 5.4
———————————————————————————————————
FILE: /var/www/mydomain.com/wp-content/plugins/wp-piwik/classes/WP_Piwik.php
————————————————————————————————————————-
FOUND 1 ERROR AFFECTING 1 LINE
————————————————————————————————————————-
385 | ERROR | Using ‘break’ outside of a loop or switch structure is invalid and will throw a fatal error since PHP 7.0
————————————————————————————————————————-
Thank you again and best regards.
]]>In the logs I find the message:
PHP Fatal error: Uncaught Error: [] operator not supported for strings in …/wp-content/plugins/servebolt-optimizer/admin/admin-interface.php:193
Please change:
$links[] = sprintf('<a href="%s">%s</a>', admin_url( 'options-general.php?page=servebolt-wp' ), sb__('Settings'));
to:
array_push($links, sprintf('<a href="%s">%s</a>', admin_url( 'options-general.php?page=servebolt-wp' ), sb__('Settings')));
That should fix the issue.
Thanks
In the logs I find the message:
AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught Error: [] operator not supported for strings in …/wp-content/plugins/yikes-inc-easy-custom-woocommerce-product-tabs/yikes-inc-easy-custom-woocommerce-product-tabs.php:283
Solution:
============
Please change:
$links[] = '<a href="' . $href . '">Saved Tabs</a>';
to:
array_push($links, '<a href="' . $href . '">Saved Tabs</a>');
That should fix the issue.
Thanks
I upgraded theme to ColorMag to version 1.4.9 and run use PHP compatibility plugin (https://en-au.www.ads-software.com/plugins/php-compatibility-checker/) to check PHP compatibility, and get one error with ColorMag theme.
FILE: /xxx/wp-content/plugins/themegrill-demo-importer/includes/importers/wordpress-importer/class-wxr-importer.php
FOUND 1 ERROR AFFECTING 1 LINE
958 | ERROR | Indirect access to variables, properties and methods will be evaluated strictly in left-to-right order since PHP 7.0. Use curly braces to remove ambiguity.
I currently use PHP 7.0.33, thanks
]]>If I change my site from PHP 7.2 to PHP 7.3 I get this message.
Running WordPress 5.4.1 & woocommerce 4.1.0 but I think the PHP problem has been around for a while
WooCommerce PDF Invoices & Packing Slips 2.4.10 & (Premium version 2.5.6)
I have recently updated the PHP version from 7.2 to 7.3.
After the update I can’t send (test) email anymore, while before I can.
This is the Test Email log:
2020-04-07 11:56:07 Connection: opening to smtp.gmail.com:587, timeout=300, options=array ()
2020-04-07 11:56:07 Connection: opened
2020-04-07 11:56:07 SMTP -> get_lines(): $data is ""
2020-04-07 11:56:07 SMTP -> get_lines(): $str is "220 smtp.gmail.com ESMTP t124sm2097020wmf.19 - gsmtp"
2020-04-07 11:56:07 SERVER -> CLIENT: 220 smtp.gmail.com ESMTP t124sm2097020wmf.19 - gsmtp
2020-04-07 11:56:07 CLIENT -> SERVER: EHLO xxxxxx.domain.com
2020-04-07 11:56:07 SMTP -> get_lines(): $data is ""
2020-04-07 11:56:07 SMTP -> get_lines(): $str is "250-smtp.gmail.com at your service, [2a01:7c8:aab5:20d::1]"
2020-04-07 11:56:07 SMTP -> get_lines(): $data is "250-smtp.gmail.com at your service, [2a01:7c8:aab5:20d::1]"
2020-04-07 11:56:07 SMTP -> get_lines(): $str is "250-SIZE 35882577"
2020-04-07 11:56:07 SMTP -> get_lines(): $data is "250-smtp.gmail.com at your service, [2a01:7c8:aab5:20d::1]250-SIZE 35882577"
2020-04-07 11:56:07 SMTP -> get_lines(): $str is "250-8BITMIME"
2020-04-07 11:56:07 SMTP -> get_lines(): $data is "250-smtp.gmail.com at your service, [2a01:7c8:aab5:20d::1]250-SIZE 35882577250-8BITMIME"
2020-04-07 11:56:07 SMTP -> get_lines(): $str is "250-STARTTLS"
2020-04-07 11:56:07 SMTP -> get_lines(): $data is "250-smtp.gmail.com at your service, [2a01:7c8:aab5:20d::1]250-SIZE 35882577250-8BITMIME250-STARTTLS"
2020-04-07 11:56:07 SMTP -> get_lines(): $str is "250-ENHANCEDSTATUSCODES"
2020-04-07 11:56:07 SMTP -> get_lines(): $data is "250-smtp.gmail.com at your service, [2a01:7c8:aab5:20d::1]250-SIZE 35882577250-8BITMIME250-STARTTLS250-ENHANCEDSTATUSCODES"
2020-04-07 11:56:07 SMTP -> get_lines(): $str is "250-PIPELINING"
2020-04-07 11:56:07 SMTP -> get_lines(): $data is "250-smtp.gmail.com at your service, [2a01:7c8:aab5:20d::1]250-SIZE 35882577250-8BITMIME250-STARTTLS250-ENHANCEDSTATUSCODES250-PIPELINING"
2020-04-07 11:56:07 SMTP -> get_lines(): $str is "250-CHUNKING"
2020-04-07 11:56:07 SMTP -> get_lines(): $data is "250-smtp.gmail.com at your service, [2a01:7c8:aab5:20d::1]250-SIZE 35882577250-8BITMIME250-STARTTLS250-ENHANCEDSTATUSCODES250-PIPELINING250-CHUNKING"
2020-04-07 11:56:07 SMTP -> get_lines(): $str is "250 SMTPUTF8"
2020-04-07 11:56:07 SERVER -> CLIENT: 250-smtp.gmail.com at your service, [2a01:7c8:aab5:20d::1]250-SIZE 35882577250-8BITMIME250-STARTTLS250-ENHANCEDSTATUSCODES250-PIPELINING250-CHUNKING250 SMTPUTF8
2020-04-07 11:56:07 CLIENT -> SERVER: STARTTLS
2020-04-07 11:56:07 SMTP -> get_lines(): $data is ""
2020-04-07 11:56:07 SMTP -> get_lines(): $str is "220 2.0.0 Ready to start TLS"
2020-04-07 11:56:07 SERVER -> CLIENT: 220 2.0.0 Ready to start TLS
2020-04-07 11:56:07 CLIENT -> SERVER: EHLO xxxxxx.domain.com
2020-04-07 11:56:07 SMTP -> get_lines(): $data is ""
2020-04-07 11:56:07 SMTP -> get_lines(): $str is "250-smtp.gmail.com at your service, [2a01:7c8:aab5:20d::1]"
2020-04-07 11:56:07 SMTP -> get_lines(): $data is "250-smtp.gmail.com at your service, [2a01:7c8:aab5:20d::1]"
2020-04-07 11:56:07 SMTP -> get_lines(): $str is "250-SIZE 35882577"
2020-04-07 11:56:07 SMTP -> get_lines(): $data is "250-smtp.gmail.com at your service, [2a01:7c8:aab5:20d::1]250-SIZE 35882577"
2020-04-07 11:56:07 SMTP -> get_lines(): $str is "250-8BITMIME"
2020-04-07 11:56:07 SMTP -> get_lines(): $data is "250-smtp.gmail.com at your service, [2a01:7c8:aab5:20d::1]250-SIZE 35882577250-8BITMIME"
2020-04-07 11:56:07 SMTP -> get_lines(): $str is "250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH"
2020-04-07 11:56:07 SMTP -> get_lines(): $data is "250-smtp.gmail.com at your service, [2a01:7c8:aab5:20d::1]250-SIZE 35882577250-8BITMIME250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH"
2020-04-07 11:56:07 SMTP -> get_lines(): $str is "250-ENHANCEDSTATUSCODES"
2020-04-07 11:56:07 SMTP -> get_lines(): $data is "250-smtp.gmail.com at your service, [2a01:7c8:aab5:20d::1]250-SIZE 35882577250-8BITMIME250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH250-ENHANCEDSTATUSCODES"
2020-04-07 11:56:07 SMTP -> get_lines(): $str is "250-PIPELINING"
2020-04-07 11:56:07 SMTP -> get_lines(): $data is "250-smtp.gmail.com at your service, [2a01:7c8:aab5:20d::1]250-SIZE 35882577250-8BITMIME250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH250-ENHANCEDSTATUSCODES250-PIPELINING"
2020-04-07 11:56:07 SMTP -> get_lines(): $str is "250-CHUNKING"
2020-04-07 11:56:07 SMTP -> get_lines(): $data is "250-smtp.gmail.com at your service, [2a01:7c8:aab5:20d::1]250-SIZE 35882577250-8BITMIME250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH250-ENHANCEDSTATUSCODES250-PIPELINING250-CHUNKING"
2020-04-07 11:56:07 SMTP -> get_lines(): $str is "250 SMTPUTF8"
2020-04-07 11:56:07 SERVER -> CLIENT: 250-smtp.gmail.com at your service, [2a01:7c8:aab5:20d::1]250-SIZE 35882577250-8BITMIME250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH250-ENHANCEDSTATUSCODES250-PIPELINING250-CHUNKING250 SMTPUTF8
2020-04-07 11:56:07 Auth method requested: XOAUTH2
2020-04-07 11:56:07 Auth methods available on the server: LOGIN,PLAIN,XOAUTH2,PLAIN-CLIENTTOKEN,OAUTHBEARER,XOAUTH
SMTP Error: Could not authenticate.
2020-04-07 11:56:07 CLIENT -> SERVER: QUIT
2020-04-07 11:56:07 SMTP -> get_lines(): $data is ""
2020-04-07 11:56:07 SMTP -> get_lines(): $str is "221 2.0.0 closing connection t124sm2097020wmf.19 - gsmtp"
2020-04-07 11:56:07 SERVER -> CLIENT: 221 2.0.0 closing connection t124sm2097020wmf.19 - gsmtp
2020-04-07 11:56:07 Connection: closed
SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
Server info:
OS: Linux xxxx.domain.com 3.10.0-1062.12.1.el7.x86_64 #1 SMP Tue Feb 4 23:02:59 UTC 2020 x86_64
PHP version: 7.3.16
WordPress version: 5.4
WordPress multisite: No
openssl: Available
allow_url_fopen: Enabled
stream_socket_client: Available
fsockopen: Available
cURL: Available
cURL Version: 7.69.1, OpenSSL/1.0.2k-fips
If I switch back to PHP7.2, then I can send e-mails without problem.
So, why does WP Gmail SMTP not work with PHP7.3 ?
Please help me out, Thanks in advance!
]]>Got error 'PHP message: PHP Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /var/www/website/wp-content/plugins/w3-total-cache/lib/CSSTidy/class.csstidy.php on line 886'
Manually applied fix to line 886 of wp-content/plugins/w3-total-cache/lib/CSSTidy/class.csstidy.php as per: https://github.com/Cerdic/CSSTidy/commit/6342bdce367bd0b6b66ab715f749e18dae93eaf4
Please update CSSTidy to include this fix!
]]>