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

Phet Maly

After this morning update to the most recent version…

Fatal error: Uncaught Error: Call to a member function get_type() on bool in /home/bebluebijoux/public_html/wp-content/plugins/woo-variation-gallery/includes/hooks.php:87 Stack trace: #0 /home/bebluebijoux/public_html/wp-includes/class-wp-hook.php(292): wvg_disable_for_specific_product_type(false) #1 /home/bebluebijoux/public_html/wp-includes/plugin.php(212): WP_Hook->apply_filters(false, Array) #2 /home/bebluebijoux/public_html/wp-content/plugins/woo-variation-gallery/includes/functions.php(114): apply_filters(‘disable_woo_var…’, false) #3 /home/bebluebijoux/public_html/wp-includes/class-wp-hook.php(294): wvg_gallery_template_override(‘/home/bebluebij…’, ‘ywgc-popup.php’) #4 /home/bebluebijoux/public_html/wp-includes/plugin.php(212): WP_Hook->apply_filters(‘/home/bebluebij…’, Array) #5 /home/bebluebijoux/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(313): apply_filters(‘wc_get_template’, ‘/home/bebluebij…’, ‘ywgc-popup.php’, Array, ”, ‘/home/bebluebij…’) #6 /home/bebluebijoux/public in /home/bebluebijoux/public_html/wp-content/plugins/woo-variation-gallery/includes/hooks.php on line 87

Phet Maly

FYI, I’ve deactivated the 2 plugins for now:

Additional Variation Images Gallery for WooCommerce
Additional Variation Images Gallery for WooCommerce – Pro

Phet Maly

Here is a screenshot: https://tinyurl.com/yzm9kbfd

Golam Kibria

Hi Phet,

We are sorry for the inconvenience. I have run a primary investigation on your site.

I will further investigate this and get back to you.

Thank You

Golam Kibria

Hi Phet,

We tried to locally reproduce the issue but it did not happen on our end.

Do you have a stating site? We want to test this on a staging site because it is quite risky to perform a deep inspection on a production site.

Thank You

Phet Maly

Hi,

No I don’t have a staging site. I’ll try to create a clone of it. I’ll get back to you ASAP.

In the mean time, I’ve received this by email this morning:

Détails de l’erreur
======================
Une erreur de type E_ERROR a été causée dans la ligne 107 du fichier /home/bebluebijoux/public_html/wp-content/plugins/woo-variation-swatches-pro/includes/functions.php. Message d’erreur : Uncaught ArgumentCountError: Too few arguments to function wvs_wpml_translate_options(), 1 passed in /home/bebluebijoux/public_html/wp-content/plugins/woo-variation-swatches-pro/includes/functions.php on line 81 and exactly 2 expected in /home/bebluebijoux/public_html/wp-content/plugins/woo-variation-swatches-pro/includes/functions.php:107
Stack trace:
#0 /home/bebluebijoux/public_html/wp-content/plugins/woo-variation-swatches-pro/includes/functions.php(81): wvs_wpml_translate_options(Array)
#1 /home/bebluebijoux/public_html/wp-includes/class-wp-hook.php(292): Woo_Variation_Swatches_Pro->{closure}(23442, ‘en’, Array, 23445)
#2 /home/bebluebijoux/public_html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters(‘23444’, Array)
#3 /home/bebluebijoux/public_html/wp-includes/plugin.php(484): WP_Hook->do_action(Array)
#4 /home/bebluebijoux/public_html/wp-content/plugins/sitepress-multilingual-cms/inc/post-translation/wpml-post-duplication.class.php(149): do_action(‘icl_make_duplic…’, 23442, ‘en’, Array, 234

 

Regards,
Phet

Golam Kibria

Hi Phet,

I have already reported the swatches issue to our development team.

Hopefully, they will find a quick solution for both issues.

Please get back to us as soon as you have a staging site.

Thank You

Phet Maly

Hi Golam,

Here is the new staging site: https://www.bebluebijoux.com/staging2021/wp-login.php

Access are the same as the main site.

Let me know if you find anything.

Regards,

Phet

Ahmed Ehsaan

Please update both plugin now.

Phet Maly

It seems to be working now with the new version. Thank you.

Golam Kibria

Hi Phet,

Thanks a lot for your patience. We are glad that we were able to solve the issue.

Can I close the ticket now?

Thank You