Deprecated: Return type of Symfony\Component\HttpFoundation\ParameterBag::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /html/shopware2/vendor/symfony/http-foundation/ParameterBag.php on line 277
Deprecated: Return type of Symfony\Component\HttpFoundation\ParameterBag::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /html/shopware2/vendor/symfony/http-foundation/ParameterBag.php on line 287
Deprecated: Return type of Symfony\Component\HttpFoundation\HeaderBag::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /html/shopware2/vendor/symfony/http-foundation/HeaderBag.php on line 273
Deprecated: Return type of Symfony\Component\HttpFoundation\HeaderBag::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /html/shopware2/vendor/symfony/http-foundation/HeaderBag.php on line 283
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /html/shopware2/vendor/symfony/http-foundation/Request.php on line 282
Deprecated: Symfony\Component\Config\Resource\FileResource implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /html/shopware2/vendor/symfony/config/Resource/FileResource.php on line 21
Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /html/shopware2/engine/Library/Enlight/Event/EventManager.php:106
Stack trace:
#0 /html/shopware2/engine/Library/Enlight/Event/EventManager.php(83): Enlight_Event_EventManager->registerListener(Object(Enlight_Event_Handler_Default))
#1 /html/shopware2/var/cache/production_201605230943/proxies/ShopwareProductionProjectContainer.php(405): Enlight_Event_EventManager->addListener('...', Array)
#2 /html/shopware2/vendor/symfony/dependency-injection/Container.php(327): ShopwareProductionProjectContainer->getEventsService()
#3 /html/shopware2/engine/Shopware/Components/DependencyInjection/Container.php(121): Symfony\Component\DependencyInjection\Container->get('...')
#4 /html/shopware2/engine/Shopware/Kernel.php(334): Shopware\Components\DependencyInjection\Container->set('...', Object(Shopware\Kernel))
#5 /html/shopware2/engine/Shopware/Kernel.php(250): Shopware\Kernel->initializeContainer()
#6 /html/shopware2/engine/Shopware/Components/HttpCache/AppCache.php(249): Shopware\Kernel->boot()
#7 /html/shopware2/vendor/symfony/http-kernel/HttpCache/HttpCache.php(449): Shopware\Components\HttpCache\AppCache->forward(Object(Symfony\Component\HttpFoundation\Request), true)
#8 /html/shopware2/vendor/symfony/http-kernel/HttpCache/HttpCache.php(349): Symfony\Component\HttpKernel\HttpCache\HttpCache->fetch(Object(Symfony\Component\HttpFoundation\Request), true)
#9 /html/shopware2/engine/Shopware/Components/HttpCache/AppCache.php(178): Symfony\Component\HttpKernel\HttpCache\HttpCache->lookup(Object(Symfony\Component\HttpFoundation\Request), true)
#10 /html/shopware2/vendor/symfony/http-kernel/HttpCache/HttpCache.php(213): Shopware\Components\HttpCache\AppCache->lookup(Object(Symfony\Component\HttpFoundation\Request), true)
#11 /html/shopware2/engine/Shopware/Components/HttpCache/AppCache.php(114): Symfony\Component\HttpKernel\HttpCache\HttpCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#12 /html/shopware2/shopware.php(101): Shopware\Components\HttpCache\AppCache->handle(Object(Symfony\Component\HttpFoundation\Request))
#13 {main}
thrown in /html/shopware2/engine/Library/Enlight/Event/EventManager.php on line 106