Fatal error: Uncaught Exception: Error: 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 '2027-01-01'' at line 1<br />Error No: 1064<br />select count(product_id) as total from oc2v_product where date_available >= '2026-12-01 and date_available < '2027-01-01' in /home/vekotabg/gaby.vekotasoft.com/system/library/db/mysqli.php:49
Stack trace:
#0 /home/vekotabg/gaby.vekotasoft.com/system/library/db.php(45): DB\MySQLi->query('select count(pr...')
#1 /home/vekotabg/gaby.vekotasoft.com/catalog/model/catalog/product.php(470): DB->query('select count(pr...')
#2 /home/vekotabg/gaby.vekotasoft.com/system/engine/loader.php(248): ModelCatalogProduct->getTotalProductsSearchByMonth(Array)
#3 /home/vekotabg/gaby.vekotasoft.com/system/engine/proxy.php(47): Loader->{closure}(Array, Array)
#4 /home/vekotabg/gaby.vekotasoft.com/catalog/controller/product/search.php(218): Proxy->__call('getTotalProduct...', Array)
#5 /home/vekotabg/gaby.vekotasoft.com/system/engine/action.php(78): ControllerProductSearch->index()
#6 /home/vekotabg/gaby.vekotasoft.com/catalog/controller/startup/router.php(27): Action->execute(Object(Registry))
#7 /home/vekotabg/gaby.vekotasoft.com/system/engine/action.php(78): ControllerStartupRouter->index()
#8 /home/vekotabg/gaby.vekotasoft.com/system/engine/router.php(67): Action->execute(Object(Registry))
#9 /home/vekotabg/gaby.vekotasoft.com/system/engine/router.php(56): Router->execute(Object(Action))
#10 /home/vekotabg/gaby.vekotasoft.com/system/framework.php(179): Router->dispatch(Object(Action), Object(Action))
#11 /home/vekotabg/gaby.vekotasoft.com/system/startup.php(104): require_once('/home/vekotabg/...')
#12 /home/vekotabg/gaby.vekotasoft.com/index.php(23): start('catalog')
#13 {main}
thrown in /home/vekotabg/gaby.vekotasoft.com/system/library/db/mysqli.php on line 49