Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/vhosts/web_apps/base-shop/application/BaseBootstrap.php on line 532

Fatal error: Uncaught Error: Call to a member function fetchAll() on null in /var/www/vhosts/web_apps/base-shop/application/models/Delivery.php:145 Stack trace: #0 /var/www/vhosts/web_apps/base-shop/application/BaseBootstrap.php(455): App_Model_Delivery->fetchAllDeliveries() #1 /var/www/vhosts/web_apps/base-libs/Zend/Application/Bootstrap/BootstrapAbstract.php(669): BaseBootstrap->_initRegisters() #2 /var/www/vhosts/web_apps/base-libs/Zend/Application/Bootstrap/BootstrapAbstract.php(622): Zend_Application_Bootstrap_BootstrapAbstract->_executeResource('registers') #3 /var/www/vhosts/web_apps/base-libs/Zend/Application/Bootstrap/BootstrapAbstract.php(586): Zend_Application_Bootstrap_BootstrapAbstract->_bootstrap('registers') #4 /var/www/vhosts/web_apps/base-libs/Zend/Application.php(355): Zend_Application_Bootstrap_BootstrapAbstract->bootstrap(NULL) #5 /var/www/vhosts/balousektisk.cz/httpdocs/index.php(69): Zend_Application->bootstrap() #6 {main} thrown in /var/www/vhosts/web_apps/base-shop/application/models/Delivery.php on line 145