Hi,
I have all my system.log file full of this error:
2017-06-14T23:13:59+00:00 ERR (3): Warning: in_array() expects parameter 2 to be array, null given in /var/www/vhosts/domain.com/httpdocs/app/code/core/Mage/ConfigurableSwatches/Helper/Productimg.php on line 345 2017-06-14T23:13:59+00:00 ERR (3): Warning: array_merge_recursive() expects at least 1 parameter, 0 given in /var/www/vhosts/domain.com/httpdocs/app/code/core/Mage/ConfigurableSwatches/Helper/Productimg.php on line 336 2017-06-14T23:13:59+00:00 ERR (3): Warning: array_unique() expects parameter 1 to be array, null given in /var/www/vhosts/domain.com/httpdocs/app/code/core/Mage/ConfigurableSwatches/Helper/Productimg.php on line 337 2017-06-14T23:13:59+00:00 ERR (3): Warning: array_map(): Argument #2 should be an array in /var/www/vhosts/domain.com/httpdocs/app/code/core/Mage/ConfigurableSwatches/Helper/Productimg.php on line 340 2017-06-14T23:13:59+00:00 ERR (3): Warning: array_merge(): Argument #1 is not an array in /var/www/vhosts/domain.com/httpdocs/app/code/core/Mage/ConfigurableSwatches/Helper/Productimg.php on line 340
somebody help me?
regards!
Just found the cause for the error.
From a previous version of Magento, I had a fix to the sort order of the config products. To fix, I deleted the old fix from /app/code/local/Catalog/Model/Resource/Product/Type/Configurable/Attribute/Collection.php
Ignore that, the error is still appearing in the log.
Hello, I have same problem.
For all who have this issue, can you perform a small test?
Then test again the configurable swatches
Can you share which version of Magento are you using?
I am using 1.9.2.4 my problem still continue
Can you share your Swatches configuration?
I got a few stores using this feature and can't reproduce the problem.
I have the same errors. Anyone ever solve this?