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 p2c2s.`category_id` = 828 AND 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(963): DB->query('SELECT DISTINCT...') #2 /home/lions/public_html/system/library/productsfilters.php(466): ModelCatalogProduct->getTotalProductsByCategoryIdFromProductsList('828', '', '') #3 /home/lions/public_html/system/library/productsfilters.php(122): ProductsFilters->getCategoriesFilters() #4 /home/lions/public_html/catalog/controller/module/products_filters.php(246): ProductsFilter in /home/lions/public_html/system/library/db/mysqli.php on line 55