Application error in default module
PDOException: SQLSTATE[HY093]: Invalid parameter number: no parameters were bound in /www/warheroes/lib/Zend/Db/Statement/Pdo.php:228 Stack trace: #0 /www/warheroes/lib/Zend/Db/Statement/Pdo.php(228): PDOStatement->execute(Array) #1 /www/warheroes/lib/Zend/Db/Statement.php(300): Zend_Db_Statement_Pdo->_execute(Array) #2 /www/warheroes/lib/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array) #3 /www/warheroes/lib/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT `hero`.*...', Array) #4 /www/warheroes/app/modules/default/models/Table/Heroes.php(327): Zend_Db_Adapter_Pdo_Abstract->query(Object(Zend_Db_Select)) #5 /www/warheroes/app/modules/default/controllers/HeroController.php(52): Default_Model_Table_Heroes->getHeroById(NULL) #6 /www/warheroes/lib/Zend/Controller/Action.php(133): HeroController->init() #7 /www/warheroes/lib/Zend/Controller/Dispatcher/Standard.php(268): Zend_Controller_Action->__construct(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http), Array) #8 /www/warheroes/lib/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #9 /www/warheroes/lib/Zend/Application/Bootstrap/Bootstrap.php(97): Zend_Controller_Front->dispatch() #10 /www/warheroes/lib/Zend/Application.php(366): Zend_Application_Bootstrap_Bootstrap->run() #11 /www/warheroes/www/index.php(24): Zend_Application->run() #12 {main} Next Zend_Db_Statement_Exception: SQLSTATE[HY093]: Invalid parameter number: no parameters were bound in /www/warheroes/lib/Zend/Db/Statement/Pdo.php:234 Stack trace: #0 /www/warheroes/lib/Zend/Db/Statement.php(300): Zend_Db_Statement_Pdo->_execute(Array) #1 /www/warheroes/lib/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array) #2 /www/warheroes/lib/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT `hero`.*...', Array) #3 /www/warheroes/app/modules/default/models/Table/Heroes.php(327): Zend_Db_Adapter_Pdo_Abstract->query(Object(Zend_Db_Select)) #4 /www/warheroes/app/modules/default/controllers/HeroController.php(52): Default_Model_Table_Heroes->getHeroById(NULL) #5 /www/warheroes/lib/Zend/Controller/Action.php(133): HeroController->init() #6 /www/warheroes/lib/Zend/Controller/Dispatcher/Standard.php(268): Zend_Controller_Action->__construct(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http), Array) #7 /www/warheroes/lib/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #8 /www/warheroes/lib/Zend/Application/Bootstrap/Bootstrap.php(97): Zend_Controller_Front->dispatch() #9 /www/warheroes/lib/Zend/Application.php(366): Zend_Application_Bootstrap_Bootstrap->run() #10 /www/warheroes/www/index.php(24): Zend_Application->run() #11 {main}