MESSAGE: DB Error: syntax error
TYPE: PEAR
DEBUG INFO:
SELECT DISTINCT(es_categoryproduct.product_id), es_categoryproduct.categoryproduct_id
FROM es_category, es_categoryproduct ,
es_product, es_brand
WHERE es_product.brand_id = es_brand.brand_id
AND es_categoryproduct.product_id = es_product.product_id
AND es_brand.is_active = 1 AND es_categoryproduct.category_id = es_category.category_id
AND es_category.is_enabled = 1
AND es_product.product_id IN ()
ORDER BY RAND() LIMIT 1 [nativecode=1064 ** You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')
ORDER BY RAND() LIMIT 1' at line 8]
CODE: -2