Notice: WC_Cart::get_cart_url is deprecated since version 2.5!

Hi there,

I’m trying to get rid of this error message on this site: http://canopy.net.au/

I can see that the compatible version of Woo is 3.1.1 but this is 3.2.6 and the database is also updated to this, there are no backups to revert to so I’m not sure how to revert back to the earlier version of 3.1.1.

For a different theme I found the solution of: If you want to fix it before the update then please open this file: /config-woocommerce/config.php, and change this line on line 1775: etc

But I can’t find that file.

Please advice. Thank you.

Just a note to say I’ve hidden the error by config file for now. The full error message is: Notice: WC_Cart::get_cart_url is deprecated since version 2.5! Use wc_get_cart_url instead. in /home/transf44/public_html/wp-includes/functions.php on line 3838

Thanks

Hello There,

Thanks writing in! What you are seeing is a PHP notice from WooCommerce. You may ignore this message as this is just a warning. You are doing it right and have removed the warning by disabling the debug mode in your wp-config.php file.

Hope this explain it briefly.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.