Fatal error: Uncaught Error: Call to a member function toArray() on array in /clinident.pl/src/controllers/OrderVisitController.php:247 Stack trace: #0 /lib/Zend/Controller/Action.php(518): OrderVisitController->__call('przegladKontrol...', Array) #1 /lib/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('przegladKontrol...') #2 /lib/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #3 /clinident.pl/index.php(21): Zend_Controller_Front->dispatch() #4 {main} thrown in /clinident.pl/src/controllers/OrderVisitController.php on line 247