Fatal error: Uncaught Error: Call to a member function toArray() on integer in /home/janyan/auctions/application/modules/default/controllers/LoginController.php:42 Stack trace: #0 /home/janyan/auctions/library/Zend/Controller/Action.php(513): LoginController->indexAction() #1 /home/janyan/auctions/library/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('indexAction') #2 /home/janyan/auctions/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #3 /home/janyan/auctions/library/Zend/Application/Bootstrap/Bootstrap.php(97): Zend_Controller_Front->dispatch() #4 /home/janyan/auctions/library/Zend/Application.php(366): Zend_Application_Bootstrap_Bootstrap->run() #5 /home/janyan/auctions/public/index.php(45): Zend_Application->run() #6 {main} thrown in /home/janyan/auctions/application/modules/default/controllers/LoginController.php on line 42