Fatal error: Uncaught Error: Call to a member function toArray() on null in /home/hoteloudaya/application/modules/default/controllers/IndexController.php:22 Stack trace: #0 /home/hoteloudaya/application/library/Zend/Controller/Action.php(516): Default_IndexController->indexAction() #1 /home/hoteloudaya/application/library/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('indexAction') #2 /home/hoteloudaya/application/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #3 /home/hoteloudaya/application/library/Zend/Application/Bootstrap/Bootstrap.php(97): Zend_Controller_Front->dispatch() #4 /home/hoteloudaya/application/library/Zend/Application.php(366): Zend_Application_Bootstrap_Bootstrap->run() #5 /home/hoteloudaya/public_html/index.php(25): Zend_Application->run() #6 {main} thrown in /home/hoteloudaya/application/modules/default/controllers/IndexController.php on line 22