error_log: The WC_Cart::get_cart_url function is deprecated since version 2.5. Replace with wc_get_cart_url.

mduncanvm

Member
I am checking my error_log and I see thousands of lines:

The WC_Cart::get_cart_url function is deprecated since version 2.5. Replace with wc_get_cart_url.

I wonder how to fix it and if anyone can help me? Has anyone else encountered this?
It seems to be a quick fix, but I wouldn't know where to start looking as I am not a developer.

Thank you!

WooCommerce version: 3.4.2
WordPress version: 4.9.6
PHP version:7.0.30
AliDropship Woo:0.8.13
Theme: Shopper WP https://shopperwp.io/
 
Last edited:

Direct Webstore

Well-Known Member
It's either the theme or a plugin causing the problem.
Try changing to another theme (storefront?) and see if it's a theme problem.
If not ... try deactivating Woocommerce related plugins one by one to see if any of them are the culprit.
 
Top