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 ')
AND pc.product_id NOT IN (513)
AND p.status = '1'
AND p.date_ava...' at line 4<br />Error No: 1064<br />SELECT p.product_id FROM mdbcn_product_to_category AS pc
LEFT JOIN mdbcn_product p
ON (pc.product_id = p.product_id)
WHERE pc.category_id IN ()
AND pc.product_id NOT IN (513)
AND p.status = '1'
AND p.date_available <= NOW()
AND p.quantity > '0'
AND p.price > '8500.0000'
AND p.price < '17000'
GROUP BY p.product_id
ORDER BY RAND() LIMIT 4 in /home4/r96374jubi/public_html/system/library/db/mysqli.php:40
Stack trace:
#0 /home4/r96374jubi/public_html/system/library/db.php(45): DB\MySQLi->query()
#1 /home4/r96374jubi/public_html/catalog/model/catalog/product.php(430): DB->query()
#2 /home4/r96374jubi/storage/modification/system/engine/loader.php(248): ModelCatalogProduct->getAutoProductRelated()
#3 /home4/r96374jubi/public_html/system/engine/proxy.php(47): Loader->{closure}()
#4 /home4/r96374jubi/public_html/catalog/controller/product/product.php(525): Proxy->__call()
#5 /home4/r96374jubi/storage/modification/system/engine/action.php(79): ControllerProductProduct->index()
#6 /home4/r96374jubi/public_html/catalog/controller/startup/router.php(25): Action->execute()
#7 /home4/r96374jubi/storage/modification/system/engine/action.php(79): ControllerStartupRouter->index()
#8 /home4/r96374jubi/public_html/system/engine/router.php(67): Action->execute()
#9 /home4/r96374jubi/public_html/system/engine/router.php(56): Router->execute()
#10 /home4/r96374jubi/public_html/system/framework.php(165): Router->dispatch()
#11 /home4/r96374jubi/public_html/system/startup.php(104): require_once('/home4/r96374ju...')
#12 /home4/r96374jubi/public_html/index.php(15): start()
#13 {main}
thrown in /home4/r96374jubi/public_html/system/library/db/mysqli.php on line 40