Error filtering template: SQLSTATE[42S22]: Column not found: 1054 Unknown column ‘e.category_ids’ in ‘where clause’, query was:
SELECT COUNT(DISTINCT e.entity_id)
FROM
`catalog_product_entity` AS `e`
INNER JOIN
`catalog_category_product_index` AS `cat_index`
ON
cat_index.product_id=e.entity_id
AND cat_index.store_id='1'
AND cat_index.visibility IN(2, 4)
AND cat_index.category_id='3'
INNER JOIN
`catalog_product_index_price` AS `price_index`
ON
price_index.entity_id = e.entity_id
AND price_index.website_id = '1'
AND price_index.customer_group_id = '3'
WHERE (((IFNULL(`e`.`category_ids`, 0) = '6') ))
The result-set before the WHERE
expression does not conain the category_ids
column: