Tagged: woocommerce
I update Enfold from 2.9.2 to 3.0.1
I can’t edit my front page (the home site) anymore.
Warning: extract() expects parameter 1 to be array, null given in /home/httpd/vhosts/blog.swiss-paracord.ch/httpdocs/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/productslider.php on line 203
Fatal error: Call to undefined function woocommerce_product_subcategories() in /home/httpd/vhosts/blog.swiss-paracord.ch/httpdocs/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/productslider.php on line 274
I used the advanced Layout editor. I think the problem is the woocommerce product slider.
How can I fix that?
PS: I can’t switch back to the standard editor, the button don’t work.
Hi
No ideas?
cheers Jean-Pierre
Hi!
Please try updating WordPress to version 4.0 and try re-updating Enfold via FTP – http://vimeo.com/67209750
Cheers!
Yigit
Hi
I have already Version 4.0
WordPress Version: 4.0
WooCommerce Version: 2.2.6
WooCommerce Datenbank-Version: 2.2.6
PHP Version: 5.4.32
MySQL Version: 5.5.37
Name des Themes: Enfold
Theme-Version: 3.0.1
cheers Jean-Pierre
Hey!
This should be fix on the next patch of the theme. Please wait for 3.0.2. For now, add this on functions.php:
// temporary fix for woocommerce 2.2+ and enfold 3+: woocommerce_product_subcategories() not available in admin mode
add_action('woocommerce_init', function() {
if ( ! function_exists( 'woocommerce_product_subcategories' ) )
include_once( __DIR__.'/../../plugins/woocommerce/includes/wc-template-functions.php' );
} );
Best regards,
Ismael
Hi
Thank you. I wait for the next patch/update.
My solution:
I made my home site new and use the standard editor. with the standard editor it works.
cheers Jean-Pierre