Fatal error: Uncaught mysqli_sql_exception: 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 in /home/ufoe/public_html/system/library/db/mysqli.php:20
Stack trace:
#0 /home/ufoe/public_html/system/library/db/mysqli.php(20): mysqli->query('SELECT COUNT(DI...')
#1 /home/ufoe/public_html/system/library/db.php(16): DB\MySQLi->query('SELECT COUNT(DI...', Array)
#2 /home/ufoe/public_html/catalog/model/catalog/product.php(2253): DB->query('SELECT COUNT(DI...')
#3 /home/ufoe/public_html/system/storage/modification/system/engine/loader.php(178): ModelCatalogProduct->getTotalProductsSearch(Array)
#4 /home/ufoe/public_html/system/engine/proxy.php(26): Loader->{closure}(Array, Array)
#5 /home/ufoe/public_html/catalog/controller/product/search.php(275): Proxy->__call('getTotalProduct...', Array)
#6 /home/ufoe/public_html/system/storage/modification/system/engine/action.php(52): ControllerProductSearch->index()
#7 /home/ufoe/public_html/catalog/controller/startup/router.php(25): Action->execute(Object(Registry))
#8 /home/ufoe/public_html/system/storage/modification/system/engine/action.php(52): ControllerStartupRouter->index()
#9 /home/ufoe/public_html/system/engine/front.php(34): Action->execute(Object(Registry))
#10 /home/ufoe/public_html/system/engine/front.php(29): Front->execute(Object(Action))
#11 /home/ufoe/public_html/system/framework.php(103): Front->dispatch(Object(Action), Object(Action))
#12 /home/ufoe/public_html/system/startup.php(125): require_once('/home/ufoe/publ...')
#13 /home/ufoe/public_html/index.php(22): start('catalog')
#14 {main}
thrown in /home/ufoe/public_html/system/library/db/mysqli.php on line 20