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 p.price > 0' at line 6<br />Error No: 1064<br />SELECT COUNT(DISTINCT p.product_id) AS total FROM product p LEFT JOIN product_description pd ON (p.product_id = pd.product_id) LEFT JOIN product_to_store p2s ON (p.product_id = p2s.product_id) WHERE pd.language_id = '2' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' AND () AND p.price > 0 in /home/esbalrul/public_html/system/library/db/mysqli.php:48 Stack trace: #0 /home/esbalrul/public_html/system/library/db.php(45): DB\MySQLi->query() #1 /home/esbalrul/public_html/catalog/model/catalog/product.php(601): DB->query() #2 /home/esbalrul/public_html/system/engine/loader.php(248): ModelCatalogProduct->getTotalProducts() #3 /home/esbalrul/public_html/system/engine/proxy.php(47): Loader->{closure}() #4 /home/esbalrul/public_html/catalog/controller/product/search.php(264): Proxy->__call() #5 /home/esbalrul/public_html/system/engine/action.php(79): ControllerProductSearch->index() #6 /home/esbalrul/public_html/catalog/controller/startup/router.php(25): Action->execute() #7 /home/esbalrul/public_html/system/engine/action.php(79): ControllerStartupRouter->index() #8 /home/esbalrul/public_html/system/engine/router.php(72): Action->execute() #9 /home/esbalrul/public_html/system/engine/router.php(61): Router->execute() #10 /home/esbalrul/public_html/system/framework.php(169): Router->dispatch() #11 /home/esbalrul/public_html/system/startup.php(105): require_once('/home/esbalrul/...') #12 /home/esbalrul/public_html/index.php(19): start() #13 {main} thrown in /home/esbalrul/public_html/system/library/db/mysqli.php on line 48