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

Stack trace:

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

Request Parameters: