Fatal error: Uncaught Exception: Error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')
ORDER BY RAND()
LIMIT 10' at line 13<br />Error No: 1064<br />
SELECT DISTINCT p.product_id, p.image, p.price, pd.name
FROM oc_product p
LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_product_attribute pa ON (p.product_id = pa.product_id)
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
WHERE p2c.category_id = '113511'
AND p.product_id != '68344'
AND p.quantity > '1'
AND p.status = '1'
AND p.date_available <= NOW()
AND p2s.store_id = '0'
AND ()
ORDER BY RAND()
LIMIT 10
in /home/kancpart/public_html/system/library/db/mysqli.php:41
Stack trace:
#0 /home/kancpart/public_html/system/li in /home/kancpart/public_html/system/library/db/mysqli.php on line 41