Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #863591

    I am getting a new error using Woo Commerce with Enfold.

    Worked this morning with WooCommerce, they ran tests against other themes and concluded the bug lies in Enfold.

    here is the error message broadcast on the top of my webpages:

    WC_Cart::get_cart_url is deprecated since version 2.5! Use wc_get_cart_url instead. in

    This error is thrown from the functions.php code in the wp_includes part of Enfold.

    #863701

    Problem has disappeared now… deactivated all Woo plugins, cleared cache, then activated the plugins and no more deprecated error… not sure what the issue was…

    #863702

    Spoke too soon, problem is back…

    Here is the note from Woo Commerce tech support:

    “I looked into this and it seems to be your “” theme that is causing the issue.
    I enabled two different themes in the customizer and the error went away:
    In both cases, the error disappeared with the new theme.
    You will need to contact your “Enfold” theme developer for help with this, as they should be able to provide you with a new copy of the file causing issues. You can reach them here: http://kriesi.at”

    #863741

    I’m getting this same error after updating WooCommerce plugins. Please help!

    Notice: WC_Cart::get_cart_url is deprecated since version 2.5! Use wc_get_cart_url instead. in /home/hikest5/public_html/wp-includes/functions.php on line 3831

    #863841

    Same error here…

    #863964

    Hi,

    It’s not an error, only a warning, so it shouldn’t affect any functionality. A fix will be included in the next version of the theme.

    If you can’t wait until the update then open config-woocommerce/config.php file and replace this line:

    $link = $woocommerce->cart->get_cart_url();

    with this:

    $link = wc_get_cart_url();

    Best regards,
    Rikard

    #864191

    This worked for me! Thanks!

    #864366

    Hi,
    Glad we were able to help, we will close this now. Thank you for using Enfold.

    Best regards,
    Mike

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘WooCommerce cart deprecated error in Enfold 4.1.2’ is closed to new replies.