• Resolved easycomtech

    (@easycomtech)


    Hi,

    I have this php error with woocommerce.

    AH01071: Got error ‘PHP message: woocommerce_product_tax_class is deprecated since version 3.0.0! Use woocommerce_product_get_tax_class instead.

    Could you help us to resolve the issue?

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Mirko P.

    (@rainfallnixfig)

    Hi @easycomtech,

    I would suggest you update all your plugins and theme to their latest available versions and you should no longer see that error. As per woocommerce_product_tax_class indeed it was deprecated since WooCommerce 3.0.0 and replaced by woocommerce_product_get_tax_class and woocommerce_product_variation_get_tax_class.

    Before doing any changes you should always ensure that you have a backup of your site in case anything goes wrong. More info at Backing up WordPress content.

    Thanks.

    Mirko P.

    (@rainfallnixfig)

    Hi there,

    It’s been a while since we heard from you, so I’m marking this thread as resolved. Hopefully, you’ve been able to resolve this, but if you haven’t, please open up a new topic and we’ll be happy to help out.

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘woocommerce_product_tax_class is deprecated since version 3.0.0!’ is closed to new replies.