Deprecated: App\Kernel implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /home/geseasp/mrdiscount/src/Kernel.php on line 12
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 /home/geseasp/mrdiscount/vendor/symfony/http-foundation/ParameterBag.php on line 220
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 /home/geseasp/mrdiscount/vendor/symfony/http-foundation/ParameterBag.php on line 230
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 /home/geseasp/mrdiscount/vendor/symfony/http-foundation/HeaderBag.php on line 280
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 /home/geseasp/mrdiscount/vendor/symfony/http-foundation/HeaderBag.php on line 290
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/geseasp/mrdiscount/vendor/symfony/http-foundation/Request.php on line 283
Deprecated: Return type of Symfony\Component\DependencyInjection\Argument\RewindableGenerator::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/geseasp/mrdiscount/vendor/symfony/dependency-injection/Argument/RewindableGenerator.php on line 32
Deprecated: Return type of Symfony\Component\DependencyInjection\Argument\RewindableGenerator::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/geseasp/mrdiscount/vendor/symfony/dependency-injection/Argument/RewindableGenerator.php on line 39
Deprecated: Symfony\Component\HttpKernel\Debug\FileLinkFormatter implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /home/geseasp/mrdiscount/vendor/symfony/http-kernel/Debug/FileLinkFormatter.php on line 24
Fatal error: Uncaught Symfony\Component\Debug\Exception\FatalThrowableError: syntax error, unexpected token "match" in /home/geseasp/mrdiscount/vendor/willdurand/negotiation/src/Negotiation/Negotiator.php:41
Stack trace:
#0 /home/geseasp/mrdiscount/vendor/composer/ClassLoader.php(322): Composer\Autoload\includeFile('/home/geseasp/m...')
#1 /home/geseasp/mrdiscount/vendor/friendsofsymfony/rest-bundle/Negotiation/FormatNegotiator.php(24): Composer\Autoload\ClassLoader->loadClass('Negotiation\\Neg...')
#2 /home/geseasp/mrdiscount/vendor/composer/ClassLoader.php(444): include('/home/geseasp/m...')
#3 /home/geseasp/mrdiscount/vendor/composer/ClassLoader.php(322): Composer\Autoload\includeFile('/home/geseasp/m...')
#4 /home/geseasp/mrdiscount/var/cache/prod/ContainerHYNLq3d/srcApp_KernelProdContainer.php(755): Composer\Autoload\ClassLoader->loadClass('FOS\\RestBundle\\...')
#5 /home/geseasp/mrdiscount/var/cache/prod/ContainerHYNLq3d/srcApp_KernelProdContainer.php(239): ContainerHYNLq3d\srcApp_KernelProdContainer->getFosRest_FormatListenerService()
#6 /home/geseasp/mrdiscount/vendor/symfony/event-dispatcher/EventDispatcher.php(229): ContainerHYNLq3d\srcApp_KernelProdContainer->ContainerHYNLq3d\{closure}()
#7 /home/geseasp/mrdiscount/vendor/symfony/event-dispatcher/EventDispatcher.php(61): Symfony\Component\EventDispatcher\EventDispatcher->sortListeners('kernel.request')
#8 /home/geseasp/mrdiscount/vendor/symfony/event-dispatcher/EventDispatcher.php(43): Symfony\Component\EventDispatcher\EventDispatcher->getListeners('kernel.request')
#9 /home/geseasp/mrdiscount/vendor/symfony/http-kernel/HttpKernel.php(126): Symfony\Component\EventDispatcher\EventDispatcher->dispatch('kernel.request', Object(Symfony\Component\HttpKernel\Event\GetResponseEvent))
#10 /home/geseasp/mrdiscount/vendor/symfony/http-kernel/HttpKernel.php(67): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1)
#11 /home/geseasp/mrdiscount/vendor/symfony/http-kernel/Kernel.php(198): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#12 /home/geseasp/mrdiscount/public/index.php(30): Symfony\Component\HttpKernel\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request))
#13 {main}
thrown in /home/geseasp/mrdiscount/vendor/willdurand/negotiation/src/Negotiation/Negotiator.php on line 41