Re: Dynamic Filter - Read Only attributes

Originally Posted by
soxophoneplayer
'Somewhere' I read that the filters would work with only a single stock by attribute used, but I was unable to accomplish this - the filters would behave in very strange ways and cause template to go whacky and adding a product with attributes to the cart would add 2 products instead. I ended up removing SbyA altogether as I didn't have many products using it anyway. Another thing I found with the filters - EVERY product had to have at least one read-only attribute assigned of the product listing page would go whacky.
To deal with the SbyA products I have I simply created new products - ie one product large, one product medium, one product small etc instead of a single product with the size attributes. But as I mentioned, I only have a few of such products so it wasn't a big deal. It would be a lot of work if many products.
I had to install the last ZC 1.5.6.a and also have the same issue, only one attribute, one price range, one manufacturer and no filtered result when hit filter.
I have this error:
HTML Code:
[12-Feb-2019 12:30:17 Europe/Sofia] Request URI: /prahosmukachki, IP address: 94.190.193.162
#1 array_replace() called at [/home/magpybbe/test.magprom.net/includes/classes/db/mysql/query_factory.php:626]
#2 queryFactoryResult->MoveNext() called at [/home/magpybbe/test.magprom.net/includes/templates/responsive_classic/sideboxes/tpl_dynamic_filter.php:96]
#3 require(/home/magpybbe/test.magprom.net/includes/templates/responsive_classic/sideboxes/tpl_dynamic_filter.php) called at [/home/magpybbe/test.magprom.net/includes/modules/sideboxes/responsive_classic/dynamic_filter.php:12]
#4 require(/home/magpybbe/test.magprom.net/includes/modules/sideboxes/responsive_classic/dynamic_filter.php) called at [/home/magpybbe/test.magprom.net/includes/modules/column_right.php:29]
#5 require(/home/magpybbe/test.magprom.net/includes/modules/column_right.php) called at [/home/magpybbe/test.magprom.net/includes/templates/responsive_classic/common/tpl_main_page.php:183]
#6 require(/home/magpybbe/test.magprom.net/includes/templates/responsive_classic/common/tpl_main_page.php) called at [/home/magpybbe/test.magprom.net/index.php:97]
--> PHP Warning: array_replace(): Argument #2 is not an array in /home/magpybbe/test.magprom.net/includes/classes/db/mysql/query_factory.php on line 626.
any ideas?
My most recent work: magprom.net