Error after updating

This topic has been marked as resolved.

Hello,
http://mygoose.ru
Fatal error: Call to undefined function WC() in /bhome/part1/01/sp/mygoose.ru/www/wp-content/themes/shoppica/functions.php on line 44

Yesterday was 1.3.0
Just a moment ago updated up to 1.4.3 and just white screen.

 diffur
July 13, 2014 at 8:59 am #32533

The line 44:
if(is_woocommerce_custom()) {
wp_enqueue_script( ‘wc-price-slider’, WC()->plugin_url() . ‘/assets/js/frontend/price-slider.js’, array(‘jquery’), WC()->version );
}

 diffur
July 13, 2014 at 11:17 am #32534

so, I reinstalled full site and I don’t have this problem anymore

 diffur
July 13, 2014 at 1:28 pm #32536

Hello,

The problem was the Woocommerce plugin were very old version.

Best,
ThemeBurn team

July 22, 2014 at 3:06 pm #32602
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.