• Hi, I have a client site which is running Virtue and it logging hundreds of PHP errors: The WC_Cart->tax_display_cart argument is deprecated since version 4.4. Use WC_Cart->get_tax_price_display_mode() instead.
    I’ve tracked these calls down to templates->header-topbar.php line 57 and lib->woocommerce->woo-core-hooks.php line 75.
    Any way these can be corrected.
    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • hannah

    (@hannahritner)

    Hi @simondukes,
    Sorry to hear this. What version of PHP are you running? Can you post a link?

    Thanks!
    Hannah

    Thread Starter SimonDukes

    (@simondukes)

    PHP version is 7.3.22. Domain is https://www.sherline.com but there is no visible issue. Just the message in the php error log. Created versions of those files in the child theme with the updated call (i.e. get_tax_price_display_mode) and cut the errors from hundreds to 1 per page load.

    hannah

    (@hannahritner)

    I’ll pass this onto the developer and see if he has any insight.
    Thanks for your patience!

    Best,
    Hannah

    Hey,
    The notice for deprecated function is something that will get updated in the next theme version, it’s a notice though and not an error so it shouldn’t be causing any issue on your site.

    Ben

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Woocommerce Tax error message’ is closed to new replies.