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 ')) as total' at line 1<br />Error No: 1064<br />SELECT COUNT(product_id) FROM (SELECT DISTINCT p.product_id 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 ()) as total in /home/savel/public_html/system/library/db/mysqli.php:40 Stack trace: #0 /home/savel/public_html/system/library/db.php(45): DB\MySQLi->query('SELECT COUNT(pr...') #1 /home/savel/storage/modification/catalog/model/catalog/product.php(764): DB->query('SELECT COUNT(pr...') #2 /home/savel/storage/modification/system/engine/loader.php(276): ModelCatalogProduct->getTotalProducts(Array) #3 /home/savel/public_html/system/engine/proxy.php(47): Loader->{closure}(Array, Array) #4 /h in /home/savel/public_html/system/library/db/mysqli.php on line 40