Fatal error: Uncaught TypeError: count(): Argument #1 ($var) must be of type Countable|array, null given in /home/oliver/oliverwicks/application/modules/eshop3/objects/EshopCart.php:835
Stack trace:
#0 /home/oliver/oliverwicks/application/modules/eshop3/public/controllers/CartController.php(693): EshopCart::remove('1')
#1 /home/oliver/oliverwicks/library/Zend/Controller/Action.php(516): Eshop3_CartController->deleteAction()
#2 /home/oliver/oliverwicks/library/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('deleteAction')
#3 /home/oliver/oliverwicks/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#4 /home/oliver/oliverwicks/public/index.php(17): Zend_Controller_Front->dispatch()
#5 {main}
thrown in /home/oliver/oliverwicks/application/modules/eshop3/objects/EshopCart.php on line 835