WC last update: The plugin Causes a fatal error
-
Hello,
I am using this function $product->get_available_variations in my theme, and since the last Woocommerce update (to version 3.1.1) i’m getting this error:
Fatal error: Call to undefined method WC_Product_Simple::get_available_variations() in [……]\wp-content\themes\themename\woocommerce\loop\price.php
when i deactivate the plugin the function works fine.
Edit: the product is variable, and as i see it’s treated like a simple product.
Regards
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘WC last update: The plugin Causes a fatal error’ is closed to new replies.