This topic has 1 reply, 1 voice, and was last updated 3 years, 2 months ago ago by cabamod
Hello,
I have an emergency, a critical error has occurred on the site since the theme update. The error is present only with the XStore theme no problem with other themes!
To see the site live follow this link:
https://leabelen.fr/?cmp_bypass=f9acb21115814f3c8c1dfdd0a64dd10c
Here is the result of the debug:
Uncaught Error: Call to undefined method WC_Product_Simple::variation_is_visible() in /var/www/vhosts/leabelen.fr/httpdocs/wp-content/plugins/woocommerce/includes/class-wc-product-variable.php:307 Stack trace: #0 /var/www/vhosts/leabelen.fr/httpdocs/wp-content/plugins/et-core-plugin/packages/st-woo-swatches/public/partials/class-st-woo-shop.php(64): WC_Product_Variable->get_available_variations() #1 /var/www/vhosts/leabelen.fr/httpdocs/wp-includes/class-wp-hook.php(303): St_Woo_Shop->loop_swatch() #2 /var/www/vhosts/leabelen.fr/httpdocs/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters() #3 /var/www/vhosts/leabelen.fr/httpdocs/wp-includes/plugin.php(470): WP_Hook->do_action() #4 /var/www/vhosts/leabelen.fr/httpdocs/wp-content/plugins/et-core-plugin/packages/st-woo-swatches/public/partials/class-st-woo-shop.php(44): do_action() #5 /var/www/vhosts/leabelen.fr/httpdocs/wp-includes/class-wp-hook.php(303): St_Woo_Shop->{closure}() #6 /var/www/vhosts/leabelen.fr/httpdocs/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters() #7 /var/www/vhosts/leabelen.fr/httpdocs/wp-includes/plugin.php(470): WP_Hook->do_action() #8 /var/www/vhosts/leabelen.fr/httpdocs/wp-content/themes/xstore/woocommerce/content-product.php(485): do_action() #9 /var/www/vhosts/leabelen.fr/httpdocs/wp-includes/template.php(772): require(‘…’) #10 /var/www/vhosts/leabelen.fr/httpdocs/wp-content/plugins/woocommerce/includes/wc-core-functions.php(284): load_template() #11 /var/www/vhosts/leabelen.fr/httpdocs/wp-content/themes/xstore/woocommerce/archive-product.php(120): wc_get_template_part() #12 /var/www/vhosts/leabelen.fr/httpdocs/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include(‘…’) #13 /var/www/vhosts/leabelen.fr/httpdocs/wp-content/plugins/woocommerce/templates/taxonomy-product-tag.php(22): wc_get_template() #14 /var/www/vhosts/leabelen.fr/httpdocs/wp-includes/template-loader.php(106): include(‘…’) #15 /var/www/vhosts/leabelen.fr/httpdocs/wp-blog-header.php(19): require_once(‘…’) #16 /var/www/vhosts/leabelen.fr/httpdocs/index.php(17): require(‘…’) #17 {main} thrown in /var/www/vhosts/leabelen.fr/httpdocs/wp-content/plugins/woocommerce/includes/class-wc-product-variable.php on line 307
Il y a eu une erreur critique sur ce site.
Tagged: critical error, themes, upgrade, woocommerce, wordpress
The issue related to '‘Critical error since upgrade last version’' has been successfully resolved, and the topic is now closed for further responses