• Resolved ryanmctwist

    (@ryanmctwist)


    Hi,

    I am getting this error in the shopping cart on my Woocommerce site ever since the last update. Does anyone know how to update the php file to get this message to go away?

    Deprecated: WC_Cart->tax_display_cart was called with an argument that is deprecated since version 4.4! Use WC_Cart->get_tax_price_display_mode() instead. in /home/fastlans/public_html/wp-includes/functions.php on line 5057

    Thank you

    The page I need help with: [log in to see the link]

Viewing 2 replies - 16 through 17 (of 17 total)
  • @crevette1406 Peut-être essayer de trouver où se situe le problème en déboguant?

    If anyone is having trouble with this – I resolved the problem by changing (like the error says) the call cart->tax_display_cart in line:
    if ( wc_tax_enabled() && ‘excl’ === WC()->cart->tax_display_cart ) :
    to cart->get_tax_display_cart
    In my case, using estore theme, this was line 82 in file …\wp-content\themes\estore\woocommerce\cart\cart-totals.php

Viewing 2 replies - 16 through 17 (of 17 total)
  • The topic ‘Deprecated: WC_Cart->tax_display_cart’ is closed to new replies.