An exception occured while bootstrapping the application.development


Mysqli prepare 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 'AND publish_date <= '2024-12-04 19:57:23' AND __enable=1 ORDER BY publish_da...' at line 1
Stack Trace:
#0 /home/sie25122/public_html/library/Zend/Db/Statement.php(115): Zend_Db_Statement_Mysqli->_prepare('SELECT *  FROM ...')
#1 /home/sie25122/public_html/library/Zend/Db/Adapter/Mysqli.php(381): Zend_Db_Statement->__construct(Object(Zend_Db_Adapter_Mysqli), 'SELECT *  FROM ...')
#2 /home/sie25122/public_html/library/Zend/Db/Adapter/Abstract.php(467): Zend_Db_Adapter_Mysqli->prepare('SELECT *  FROM ...')
#3 /home/sie25122/public_html/library/Zend/Db/Adapter/Abstract.php(706): Zend_Db_Adapter_Abstract->query('SELECT *  FROM ...', Array)
#4 /home/sie25122/public_html/application/models/CommonModel.php(185): Zend_Db_Adapter_Abstract->fetchAll('SELECT *  FROM ...', Array)
#5 /home/sie25122/public_html/application/models/CommonDAO.php(28): CommonModel->select('', Array, 'publish_date DE...', 0, '50', 1, 0)
#6 /home/sie25122/public_html/application/modules/default/controllers/ServiceController.php(51): CommonDAO->select('', Array, 'publish_date DE...', 0, '50', 1)
#7 /home/sie25122/public_html/library/Zend/Controller/Action.php(513): ServiceController->indexAction()
#8 /home/sie25122/public_html/library/Zend/Controller/Dispatcher/Standard.php(289): Zend_Controller_Action->dispatch('indexAction')
#9 /home/sie25122/public_html/library/Zend/Controller/Front.php(955): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#10 /home/sie25122/public_html/application/bootstrap.php(239): Zend_Controller_Front->dispatch()
#11 /home/sie25122/public_html/library/Zend/Application.php(366): Bootstrap->run()
#12 /home/sie25122/public_html/index.php(61): Zend_Application->run()
#13 {main}