• Resolved tcwaters

    (@tcwaters)


    In my logs I have this error:

    [03-May-2020 21:59:04 UTC] add_to_cart_fragments is deprecated since version 3.0.0! Use woocommerce_add_to_cart_fragments instead.

    I’m using the most up to date version of WooCommerce

Viewing 2 replies - 1 through 2 (of 2 total)
  • Rynald0s

    (@rynald0s)

    Automattic Happiness Engineer

    Hi @tcwaters!

    If the error still came up with WooCommerce core disabled, then it’s either your theme or another plugin using the deprecated hook and I would recommend you re-enable WooCommerce core, then switch to a default WordPress theme, like Storefront
    , and disable all other plugins, to see if it goes away. If it does, you’ll need to re-enable features until it comes back up, then contact the author of the theme/plugin and have them update their code to use the correct woocommerce_add_to_cart_fragments hook.

    Cheers!

    Plugin Support EtienneP a11n

    (@etiennep)

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

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