An exception occurred

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 '<= 1715164975 and date_expired >= 1715164975 order by date_created DESC' at line 1

Exception information:

Message: 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 '<= 1715164975 and date_expired >= 1715164975 order by date_created DESC' at line 1

Stack trace:

#0 /home/web/Framework/DbAdapter.php(27): mysqli->query('select id, name...')
#1 /home/web/avn/application/model/Topnews.php(43): Framework\DbAdapter->fetchAll('select id, name...')
#2 /home/web/avn/application/controller/NewsController.php(17): Topnews->getAll(1715164975)
#3 /home/web/Framework/Application.php(161): NewsController->indexAction()
#4 /home/web/avn/root/index.php(7): Framework\Application->run()
#5 {main}

Request Parameters: