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 ')' at line 2<br />Error No: 1064<br />SELECT COUNT(DISTINCT p.product_id) AS total FROM oc_product p LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id) LEFT JOIN oc_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 () in /home/sportpictures/public_html/system/library/db/mysqli.php:42 Stack trace: #0 /home/sportpictures/public_html/system/library/db.php(16): DB\MySQLi->query() #1 /home/sportpictures/public_html/system/storage/modification/catalog/model/catalog/product.php(512): DB->query() #2 /home/sportpictures/public_html/vqmod/vqcache/vq2-system_storage_modification_system_engine_loader.php(184): ModelCatalogProduct->getTotalProducts() #3 /home/sportpictures/public_html/system/engine/proxy.php(25): Loader->{closure}() in /home/sportpictures/public_html/system/library/db/mysqli.php on line 42