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

Warning: array_values() expects parameter 1

Hi,

I have struggled with an error occuring with the Variation Swatches plugin when updated to version 1.1.17 (free and pro equally). Everything works fine with Version 1.0.86 but it already started acting up with Version 1.1.13. I have since disabled the Pro version of the plugin and have been running with the free version 1.0.86 but this is not really helpful since we have moved our website and have been forced to downlaod the updated versions of either.
Can you help me find a solution for the array problem apart from having to remove Variations completely?

The error message displays on the category page not the single product page and it states:

Warning: array_values() expects parameter 1 to be array, bool given in /home/.sites/239/site9379788/web/audiotuning.com/wp-content/plugins/woo-variation-swatches/includes/functions.php on line 934

 

Thanks in advance,

best regards

Victoria

 

Tanvirul Haque

Hello Victoria Franc,

You have modified our swatches plugin from your child theme, could you please omit your all modification or disable your child theme and then check?

Thanks

Hi Tanvirul,

 

thank you for your message. When I preview the original Divi Theme the error is not displayed, but it also doesn’t display the short description as it is in our design either.

I was also wondering why sometimes the error and the color selector is displayed:

 

https://audiotuning.real-hifi.com/angebote/

Thanks

 

Tanvirul Haque

When I preview the original Divi Theme the error is not displayed

That’s mean, those error is coming from your child theme, maybe your theme developer included our swatches old codes inside your child theme which we highly discourage. So I recommend you to contact your child theme developer hopefully they can assist with that.

Thanks