• Resolved djusstattoo

    (@djusstattoo)


    Planet hosters say its a wordpress woocommerce issue that is preventing my site from loading. If you visite it only the header and the logos and background appear. The site worked and nothing was changed exept wordpress automatic updates and plugin updates. Now the site doesn’t work this is the error that planet hosters are talking about they are responsible for the server and hosting.

    add_to_cart_fragments is deprecated since version 3.0.0! Use woocommerce_add_to_cart_fragments instead.

    This error appeared even when woocommerce was desactivated.

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

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

    (@rynald0s)

    Automattic Happiness Engineer

    Hi, @djusstattoo!

    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 theme, like Storefront (https://www.ads-software.com/themes/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!

    Rynald0s

    (@rynald0s)

    Automattic Happiness Engineer

    Howdy!

    We haven’t heard back from you in a while, so I’m going to go ahead and mark this thread as resolved. If you have any other questions please start a new thread.

    Cheers!

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