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

Groweb Srls

I have a problem every time I save a new product in woocommerce... 
I always get a wordpress error message; it seems the problem is related to WPML

Following you can see last rows of errore log

***********************************************************************

Stack trace:
#0 /work/www/_pissei.com/wp-content/plugins/woo-variation-swatches-pro/includes/functions.php(80): wvs_wpml_translate_options()
#1 /work/www/_pissei.com/wp-includes/class-wp-hook.php(292): Woo_Variation_Swatches_Pro->{closure}()
#2 /work/www/_pissei.com/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters()
#3 /work/www/_pissei.com/wp-includes/plugin.php(484): WP_Hook->do_action()
#4 /work/www/_pissei.com/wp-content/plugins/sitepress-multilingual-cms/inc/post-translation/wpml-post-duplication.class.php(149): do_action()
#5 /work/www/_pissei.com/wp-content/plugins/sitepress-multilingual-cms/inc/post-translation/wpml-post-duplication.class.php(102): WPML_Post_Duplication->ru in /work/www/_pissei.com/wp-content/plugins/woo-variation-swatches-pro/includes/functions.php on line 106
[23-Apr-2021 10:43:12 UTC] PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function wvs_wpml_translate_options(), 1 passed in /work/www/_pissei.com/wp-content/plugins/woo-variation-swatches-pro/includes/functions.php on line 80 and exactly 2 expected in /work/www/_pissei.com/wp-content/plugins/woo-variation-swatches-pro/includes/functions.php:106
Stack trace:
#0 /work/www/_pissei.com/wp-content/plugins/woo-variation-swatches-pro/includes/functions.php(80): wvs_wpml_translate_options()
#1 /work/www/_pissei.com/wp-includes/class-wp-hook.php(292): Woo_Variation_Swatches_Pro->{closure}()
#2 /work/www/_pissei.com/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters()
#3 /work/www/_pissei.com/wp-includes/plugin.php(484): WP_Hook->do_action()
#4 /work/www/_pissei.com/wp-content/plugins/sitepress-multilingual-cms/inc/post-translation/wpml-post-duplication.class.php(149): do_action()
#5 /work/www/_pissei.com/wp-content/plugins/sitepress-multilingual-cms/inc/post-translation/wpml-post-duplication.class.php(102): WPML_Post_Duplication->ru in /work/www/_pissei.com/wp-content/plugins/woo-variation-swatches-pro/includes/functions.php on line 106

Golam Kibria

Hi Groweb,

Can you verify if you have the latest versions of our Variation Swatches plugins?

The latest versions are:
Variation Swatches for WooCommerce – 1.1.14
Variation Swatches for WooCommerce PRO – 1.1.14

If you don’t have the latest premium version, please get it from here. Let me know if the problem is resolved with the latest versions.

Thank you.

Golam Kibria

Hi Groweb,

Can you please give us temporary admin access to your site? We’ll try to investigate the issue for you.

You can add new users by going to Users > Add New set the user and password for us, set the role to admin, and set the info here.

And add your site URL, login username, and password in the site login area. Follow this guideline: https://www.useloom.com/share/27c1f2ac633c4060b2da883d946107d7

Hope to hear from you soon!

Groweb Srls

we solved it with the modification you see in attachment.
Also check for yourself to correct with the next versions

Golam Kibria

Hi Groweb,

Did you try to upload an image (you said attachment)?

Will you please use a tool like Lightshot or a similar tool to share the image.

You can also try uploading the image to any cloud service and share the URL here.

Thank You

Golam Kibria

Hi Groweb,

Okay. BTW, we have released another update after you reported this issue.

Is there anything else I can do for you?

Can I close the ticket now?

Thank You