Fatal error: Uncaught mysqli_sql_exception: 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 1 in /home/mobileab/public_html/system/library/db/mysqli.php:19
Stack trace:
#0 /home/mobileab/public_html/system/library/db/mysqli.php(19): mysqli->query('SELECT COUNT(DI...')
#1 /home/mobileab/public_html/system/library/db.php(16): DB\MySQLi->query('SELECT COUNT(DI...')
#2 /home/mobileab/public_html/catalog/model/catalog/product.php(617): DB->query('SELECT COUNT(DI...')
#3 /home/mobileab/public_html/catalog/controller/product/search.php(212): ModelCatalogProduct->getTotalProducts(Array)
#4 /home/mobileab/public_html/system/modification/system/engine/action.php(65): ControllerProductSearch->index(Array)
#5 /home/mobileab/public_html/system/engine/front.php(34): Action->execute(Object(Registry))
#6 /home/mobileab/public_html/system/engine/front.php(29): Front->execute(Object(Action))
#7 /home/mobileab/public_html/index.php(258): Front->dispatch(Object(Action), Object(Action))
#8 {main}
thrown in /home/mobileab/public_html/system/library/db/mysqli.php on line 19