Tagged: enfold, woo, woocommerce
-
AuthorPosts
-
October 12, 2017 at 7:36 pm #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.
October 13, 2017 at 12:20 am #863701Problem has disappeared now… deactivated all Woo plugins, cleared cache, then activated the plugins and no more deprecated error… not sure what the issue was…
October 13, 2017 at 12:27 am #863702Spoke 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”October 13, 2017 at 6:42 am #863741I’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
October 13, 2017 at 10:42 am #863841Same error here…
October 13, 2017 at 2:33 pm #863964Hi,
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,
RikardOctober 14, 2017 at 12:56 am #864191This worked for me! Thanks!
October 14, 2017 at 11:46 pm #864366 -
AuthorPosts
- The topic ‘WooCommerce cart deprecated error in Enfold 4.1.2’ is closed to new replies.
