Fatal error: Uncaught exception 'ErrorException' with message 'Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1<br />Error No: 1064<br />SELECT COUNT(DISTINCT p.product_id) AS total FROM oc_product p WHERE p.status = '1' AND p.date_available <= NOW() AND ()' in /home/bellafon35/domains/moodymood.net/public_html/system/database/ipsmysqli.php:46 Stack trace: #0 /home/bellafon35/domains/moodymood.net/public_html/vqmod/vqcache/vq2-system_library_db.php(26): IPSMySQLi->query('SELECT COUNT(DI...') #1 /home/bellafon35/domains/moodymood.net/public_html/vqmod/vqcache/vq2-catalog_model_catalog_product.php(576): DB->query('SELECT COUNT(DI...') #2 /home/bellafon35/domains/moodymood.net/public_html/vqmod/vqcache/vq2-catalog_controller_product_search.php(228): ModelCatalogProduct->getTotalProducts(Array) #3 [internal function]: ControllerProductSearch->index() #4 /home/bellafon35/domains/moodymood.net/public_html/vqmod/vqcache/ in /home/bellafon35/domains/moodymood.net/public_html/system/database/ipsmysqli.php on line 46