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 `id` desc LIMIT 4' at line 1
#0 /home/storage/f/70/2b/femac/public_html/library/Zend/Db/Statement.php(284): Zend_Db_Statement_Pdo->_execute(Array) #1 /home/storage/f/70/2b/femac/public_html/library/Zend/Db/Adapter/Abstract.php(468): Zend_Db_Statement->execute(Array) #2 /home/storage/f/70/2b/femac/public_html/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query(Object(Zend_Db_Table_Select), Array) #3 /home/storage/f/70/2b/femac/public_html/library/Zend/Db/Table/Abstract.php(1485): Zend_Db_Adapter_Pdo_Abstract->query(Object(Zend_Db_Table_Select)) #4 /home/storage/f/70/2b/femac/public_html/library/Zend/Db/Table/Abstract.php(1304): Zend_Db_Table_Abstract->_fetch(Object(Zend_Db_Table_Select)) #5 /home/storage/f/70/2b/femac/public_html/application/models/Mapper/BlogMapper.php(197): Zend_Db_Table_Abstract->fetchAll('id <> ', 'id desc', 4, NULL) #6 /home/storage/f/70/2b/femac/public_html/application/models/Blog.php(818): Default_Model_Mapper_BlogMapper->fetchList('id <> ', 'id desc', 4, NULL) #7 /home/storage/f/70/2b/femac/public_html/application/controllers/SiteController.php(616): Default_Model_Blog->fetchList('id <> ', 'id desc', 4) #8 /home/storage/f/70/2b/femac/public_html/library/Zend/Controller/Action.php(513): SiteController->blogAction() #9 /home/storage/f/70/2b/femac/public_html/library/Zend/Controller/Dispatcher/Standard.php(289): Zend_Controller_Action->dispatch('blogAction') #10 /home/storage/f/70/2b/femac/public_html/library/Zend/Controller/Front.php(946): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #11 /home/storage/f/70/2b/femac/public_html/library/Zend/Application/Bootstrap/Bootstrap.php(77): Zend_Controller_Front->dispatch() #12 /home/storage/f/70/2b/femac/public_html/library/Zend/Application.php(346): Zend_Application_Bootstrap_Bootstrap->run() #13 /home/storage/f/70/2b/femac/public_html/index.php(43): Zend_Application->run() #14 {main}
array(4) { ["id"]=> string(18) "materiais-tecnicos" ["module"]=> string(7) "default" ["controller"]=> string(4) "site" ["action"]=> string(4) "blog" }