Fatal error: Uncaught exception 'Zend_Db_Statement_Exception' with message 'SQLSTATE[HY093]: Invalid parameter number: no parameters were bound' in /library/Zend/Db/Statement/Pdo.php:238
Stack trace:
#0 /library/Zend/Db/Statement.php(283): Zend_Db_Statement_Pdo->_execute(Array)
#1 /library/Zend/Db/Adapter/Abstract.php(406): Zend_Db_Statement->execute(Array)
#2 /library/Zend/Db/Adapter/Pdo/Abstract.php(206): Zend_Db_Adapter_Abstract->query(Object(Zend_Db_Table_Select), Array)
#3 /library/Zend/Db/Table/Abstract.php(1185): Zend_Db_Adapter_Pdo_Abstract->query(Object(Zend_Db_Table_Select))
#4 /library/Zend/Db/Table/Abstract.php(1040): Zend_Db_Table_Abstract->_fetch(Object(Zend_Db_Table_Select))
#5 /library/Antek/Admin/Posts.php(226): Zend_Db_Table_Abstract->fetchAll(Object(Zend_Db_Table_Select))
#6 /application/controllers/IndexController.php(179): Antek_Admin_Posts->countInCategory(NULL)
#7 /library/Zend/Controller/Action.php(502): IndexController->postAction()
#8 /library/Zend/Controller/Dispatcher/Standard.php(293): Zend_Co in /library/Zend/Db/Statement/Pdo.php on line 238