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) WHERE 1
AND () in /home/sportpictures/public_html/system/library/db/mysqli.php:42
Stack trace:
#0 /home/sportpictures/public_html/system/library/db.php(20): DB\MySQLi->query()
#1 /home/sportpictures/public_html/catalog/model/catalog/product.php(501): 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}()
#4 /home/sportpictures/public_html/system/storage/modification/catalog/controller/product/search.php(179): Proxy->__call()
#5 /home/sportpictures/public_html/vqmod/vqcache/vq2-system_st in /home/sportpictures/public_html/system/library/db/mysqli.php on line 42