exception 'Exception' with message 'SQLSTATE[42000]: Syntax error or access violation: 1064 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 ') ORDER BY `datac` DESC LIMIT 20' at line 1' in /home/ccba/public_html/application/models/MNoticia.php:37
Stack trace:
#0 /home/ccba/public_html/application/controllers/NoticiasController.php(78): MNoticia->listarOutras('ano', NULL, '05', '2022')
#1 /home/ccba/library_zf/Zend/Controller/Action.php(513): NoticiasController->noticiaAction()
#2 /home/ccba/library_zf/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('noticiaAction')
#3 /home/ccba/library_zf/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#4 /home/ccba/public_html/index.php(77): Zend_Controller_Front->dispatch()
#5 {main}