Fatal error: Uncaught Exception: 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 DISTINCT COUNT(p2c2s.product_id) AS total FROM oc_rwd_product_to_category_to_store AS p2c2s INNER JOIN oc_product AS p ON (p2c2s.product_id = p.product_id) WHERE in /home/lions/public_html/system/library/db/mysqli.php:55 Stack trace: #0 /home/lions/public_html/system/library/db.php(18): DB\MySQLi->query('SELECT DISTINCT...', Array) #1 /home/lions/public_html/catalog/model/catalog/product.php(1329): DB->query('SELECT DISTINCT...') #2 /home/lions/public_html/system/library/productsfilters.php(249): ModelCatalogProduct->getTotalProductsFromClause('', '') #3 /home/lions/public_html/catalog/controller/product/search.php(176): ProductsFilters->getProducts(Array, 'p.sort_order', 'ASC', 1, 0, '15') #4 /home/lions/public_html/system/engine/action.php(51): ControllerProductSearch->index(Array) #5 /home/lions/public in /home/lions/public_html/system/library/db/mysqli.php on line 55