Thanks for the report! We’ll get this fixed in the next release. If you’d like and if you feel comfortable editing PHP files, you can apply the patch on your own site already:
https://github.com/Automattic/jetpack/pull/9021
I would also recommend that you set WP_DEBUG to false in your site’s wp-config.php file if you currently see those warnings on your production site.
Hello
Thanks for the quick response and fix!
I’ve patched the PHP code for now.
Cheers
Matt
I had a same warning and have replaced with ‘$url = str_replace( ‘href=’, $new_attributes, $url );
The error message has disappeared on the cart section but it won’t remove the item in the cart. Also sometime it directed to 404 page error.
Would you help me to fix this issue?
Thank you in advance.
@cskhello
The issue leading to that PHP error will be fixed with the next version of Jetpack, so please update the plugin when the next version is released to apply that fix.
We cannot help with the cart-issue, though. Please post in the WooCommerce forums instead so they can help you debug that issue.
https://wordpress.org/support/plugin/woocommerce
I have deactivated Jetpack plugin and it works fine with my site. I suggest to review your source codes.