Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, Default_Model_Gallery given in /www/doc/www.nczk.cz/www/historie/application/modules/default/controllers/IndexController.php:105
Stack trace:
#0 /www/doc/www.nczk.cz/www/historie/library/Zend/Controller/Action.php(513): IndexController->galleryDetailAction()
#1 /www/doc/www.nczk.cz/www/historie/library/Zend/Controller/Dispatcher/Standard.php(289): Zend_Controller_Action->dispatch('galleryDetailAc...')
#2 /www/doc/www.nczk.cz/www/historie/library/Zend/Controller/Front.php(946): Zend_Controller_Dispatcher_Standard->dispatch(Object(Nikolai_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#3 /www/doc/www.nczk.cz/www/historie/library/Zend/Application/Bootstrap/Bootstrap.php(77): Zend_Controller_Front->dispatch()
#4 /www/doc/www.nczk.cz/www/historie/library/Zend/Application.php(358): Zend_Application_Bootstrap_Bootstrap->run()
#5 /www/doc/www.nczk.cz/www/historie/index.php(47): Zend_Application->run()
#6 {main}
thrown in /www/doc/www.nczk.cz/www/historie/application/modules/default/controllers/IndexController.php on line 105