0  Comments
            
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 of $woocommerce->cart->get_cart_url() & WC()->cart->get_cart_url() needs to be replaced with
wc_get_cart_url()
    Was this answer helpful ?
    
         Yes
                    (1)
            
     /
    
        No
                    (1)