fbpx
Want To Add Extra Images Per Product Variation For Free? Download Now

plugin causes a fatal error on my site

I did an update on the variation swatches for WooCommerce to version 2.0.12

once I update Variation Swatches for WooCommerce – Pro o version 2.0.12 

my website shut down with an error message, so I disabled the pro version

how am i supposed to return to version 2.0.11 that works fine

please advice

cause the actual website is working but not fully especially when changing the language

please let me know if you do anything on the website

Thank you

Fatal error: Declaration of Woo_Variation_Swatches_Pro_Product_Page::get_item_css_classes($data) must be compatible with Woo_Variation_Swatches_Product_Page::get_item_css_classes($data, $attribute_type, $variation_data = []) in /var/www/wp-content/plugins/woo-variation-swatches-pro/includes/class-woo-variation-swatches-pro-product-page.php on line 131

Notice: Function is_embed was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /var/www/wp-includes/functions.php on line 5835

Notice: Function is_search was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /var/www/wp-includes/functions.php on line 5835

There has been a critical error on this website. Please check your site admin email inbox for instructions.

are you sure that this will not create an error on my website?

cause it was working well before the update

 

The free version is already on 2.0.12

but when updating the pro version the error accured

so i deactivate it so my website will work again

 

 

Rezwan Shiblu

Hi there,

You should update your pro plugin(2.0.12) to keep the same version(free and pro)

Before updating please take a complete backup of your site or you can test the update by creating a staging site before updating on the live site.

Thank you.

Fatal error: Uncaught Error: Call to a member function get_key_with_language_suffix() on null in /var/www/wp-content/plugins/woo-variation-swatches-pro/includes/class-woo-variation-swatches-pro.php:40 Stack trace: #0 /var/www/wp-content/plugins/woo-variation-swatches-pro/includes/class-woo-variation-swatches-pro-product-edit-panel.php(99): Woo_Variation_Swatches_Pro->get_product_options(‘15515’) #1 /var/www/wp-content/plugins/woo-variation-swatches-pro/includes/class-woo-variation-swatches-pro-product-edit-panel.php(70): Woo_Variation_Swatches_Pro_Product_Edit_Panel->get_product_options(‘15515’) #2 /var/www/wp-content/plugins/woo-variation-swatches-pro/includes/class-woo-variation-swatches-pro-product-edit-panel.php(79): Woo_Variation_Swatches_Pro_Product_Edit_Panel->product_settings(‘15515’) #3 /var/www/wp-includes/class-wp-hook.php(308): Woo_Variation_Swatches_Pro_Product_Edit_Panel->product_data_panel(”) #4 /var/www/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(”, Array) #5 /var/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #6 /var/www/wp-content/plugins/woocommerce/includes/admin/meta-boxes/views/html-product-data-panel.php(54): do_action(‘woocommerce_pro…’) #7 /var/www/wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-product-data.php(33): include(‘/var/www/wp-con…’) #8 /var/www/wp-admin/includes/template.php(1409): WC_Meta_Box_Product_Data::output(Object(WP_Post), Array) #9 /var/www/wp-admin/edit-form-advanced.php(688): do_meta_boxes(Object(WP_Screen), ‘normal’, Object(WP_Post)) #10 /var/www/wp-admin/post.php(206): require(‘/var/www/wp-adm…’) #11 {main} thrown in /var/www/wp-content/plugins/woo-variation-swatches-pro/includes/class-woo-variation-swatches-pro.php on line 40

There has been a critical error on this website. Please check your site admin email inbox for instructions.

I did what you asked and here is what i receive

please advise

 

Fatal error: Uncaught Error: Call to a member function get_key_with_language_suffix() on null in /var/www/wp-content/plugins/woo-variation-swatches-pro/includes/class-woo-variation-swatches-pro.php:40 Stack trace: #0 /var/www/wp-content/plugins/woo-variation-swatches-pro/includes/class-woo-variation-swatches-pro-product-edit-panel.php(99): Woo_Variation_Swatches_Pro->get_product_options(‘15515’) #1 /var/www/wp-content/plugins/woo-variation-swatches-pro/includes/class-woo-variation-swatches-pro-product-edit-panel.php(70): Woo_Variation_Swatches_Pro_Product_Edit_Panel->get_product_options(‘15515’) #2 /var/www/wp-content/plugins/woo-variation-swatches-pro/includes/class-woo-variation-swatches-pro-product-edit-panel.php(79): Woo_Variation_Swatches_Pro_Product_Edit_Panel->product_settings(‘15515’) #3 /var/www/wp-includes/class-wp-hook.php(308): Woo_Variation_Swatches_Pro_Product_Edit_Panel->product_data_panel(”) #4 /var/www/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(”, Array) #5 /var/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #6 /var/www/wp-content/plugins/woocommerce/includes/admin/meta-boxes/views/html-product-data-panel.php(54): do_action(‘woocommerce_pro…’) #7 /var/www/wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-product-data.php(33): include(‘/var/www/wp-con…’) #8 /var/www/wp-admin/includes/template.php(1409): WC_Meta_Box_Product_Data::output(Object(WP_Post), Array) #9 /var/www/wp-admin/edit-form-advanced.php(688): do_meta_boxes(Object(WP_Screen), ‘normal’, Object(WP_Post)) #10 /var/www/wp-admin/post.php(206): require(‘/var/www/wp-adm…’) #11 {main} thrown in /var/www/wp-content/plugins/woo-variation-swatches-pro/includes/class-woo-variation-swatches-pro.php on line 40

There has been a critical error on this website. Please check your site admin email inbox for instructions.

Rezwan Shiblu

Hi there,

Yes, we have released a new version of 2.0.13

Glad to hear that it worked.

Thank you.