Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /var/www/web1/htdocs/shopware4/shop/engine/Library/Enlight/Event/EventManager.php:106
Stack trace:
#0 /var/www/web1/htdocs/shopware4/shop/engine/Library/Enlight/Event/EventManager.php(83): Enlight_Event_EventManager->registerListener()
#1 /var/www/web1/htdocs/shopware4/shop/var/cache/production_201605230943/proxies/ShopwareProductionProjectContainer.php(405): Enlight_Event_EventManager->addListener()
#2 /var/www/web1/htdocs/shopware4/shop/vendor/symfony/dependency-injection/Container.php(327): ShopwareProductionProjectContainer->getEventsService()
#3 /var/www/web1/htdocs/shopware4/shop/engine/Shopware/Components/DependencyInjection/Container.php(121): Symfony\Component\DependencyInjection\Container->get()
#4 /var/www/web1/htdocs/shopware4/shop/engine/Shopware/Kernel.php(334): Shopware\Components\DependencyInjection\Container->set()
#5 /var/www/web1/htdocs/shopware4/shop/engine/Shopware/Kernel.php(250): Shopware\Kernel->initializeContainer()
#6 /var/www/web1/htdocs/shopware4/shop/engine/Shopware/Components/HttpCache/AppCache.php(249): Shopware\Kernel->boot()
#7 /var/www/web1/htdocs/shopware4/shop/vendor/symfony/http-kernel/HttpCache/HttpCache.php(449): Shopware\Components\HttpCache\AppCache->forward()
#8 /var/www/web1/htdocs/shopware4/shop/vendor/symfony/http-kernel/HttpCache/HttpCache.php(349): Symfony\Component\HttpKernel\HttpCache\HttpCache->fetch()
#9 /var/www/web1/htdocs/shopware4/shop/engine/Shopware/Components/HttpCache/AppCache.php(178): Symfony\Component\HttpKernel\HttpCache\HttpCache->lookup()
#10 /var/www/web1/htdocs/shopware4/shop/vendor/symfony/http-kernel/HttpCache/HttpCache.php(213): Shopware\Components\HttpCache\AppCache->lookup()
#11 /var/www/web1/htdocs/shopware4/shop/engine/Shopware/Components/HttpCache/AppCache.php(114): Symfony\Component\HttpKernel\HttpCache\HttpCache->handle()
#12 /var/www/web1/htdocs/shopware4/shop/shopware.php(101): Shopware\Components\HttpCache\AppCache->handle()
#13 {main}
thrown in /var/www/web1/htdocs/shopware4/shop/engine/Library/Enlight/Event/EventManager.php on line 106
503 Service Unavailable