• sailbuzz

    (@sailbuzz)


    Hoping someone can advise:

    I am getting the following error:

    mod_fcgid: stderr: add_to_cart_fragments is deprecated since version 3.0.0! Use woocommerce_add_to_cart_fragments instead., referer: https://yachtsailtraining.com/product/rya-competent-crew-practical-course-5-day/

    But I am not sure where i should update it in my files.

    I can edit my files via Plesk files. I am using Monstroid theme for WordPress and am using a child theme for use with the WordPress site.

    Can anyone direct me where I would find the add_to_carts_fragments section to update it?

    Many Thanks

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

Viewing 1 replies (of 1 total)
  • Thread Starter sailbuzz

    (@sailbuzz)

    I have tried adding:

    function replace_content($content)
    {
    $content = str_replace(‘add_to_cart_fragments’, ‘woocommerce_add_to_cart_fragments’,$content);
    return $content;
    }
    add_filter(‘the_content’,’replace_content’);

    to he child theme but it has not sorted anything out

Viewing 1 replies (of 1 total)
  • The topic ‘mod_fcgid: stderr: add_to_cart_fragments is deprecated since version 3.0.0!’ is closed to new replies.