Archives: FAQ

How to fix the ‘The WC_Cart::get_cart_url function is deprecated’ error in PHP

This error is mostly generated by outdated WordPress themes and/or plugins on sites which use WooCommerce. After coming across it myself several times I finally found a good/simple fix on this page. It says the offending code can be easily located by running the following command in your themes-folder: grep -R -n “cart->get_cart_url” Any occurrence …

How to fix the ‘The WC_Cart::get_cart_url function is deprecated’ error in PHP Read More »

reduction
Exit mobile version