Deprecated: AppKernel 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/therail/staging/app/AppKernel.php on line 6
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/therail/staging/var/bootstrap.php.cache on line 76
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/therail/staging/var/bootstrap.php.cache on line 80
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/therail/staging/var/bootstrap.php.cache on line 219
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/therail/staging/var/bootstrap.php.cache on line 223
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/therail/staging/var/bootstrap.php.cache on line 490
Deprecated: strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /home/therail/staging/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/EsmtpTransport.php on line 143
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/therail/staging/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Argument/RewindableGenerator.php on line 31
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/therail/staging/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Argument/RewindableGenerator.php on line 38
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/therail/staging/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Debug/FileLinkFormatter.php on line 24
Fatal error: Uncaught Symfony\Component\Debug\Exception\FatalThrowableError: Parse error: syntax error, unexpected token "match" in /home/therail/staging/vendor/willdurand/negotiation/src/Negotiation/Negotiator.php:41
Stack trace:
#0 /home/therail/staging/vendor/composer/ClassLoader.php(322): Composer\Autoload\includeFile('/home/therail/s...')
#1 /home/therail/staging/vendor/friendsofsymfony/rest-bundle/Negotiation/FormatNegotiator.php(24): Composer\Autoload\ClassLoader->loadClass('Negotiation\\Neg...')
#2 /home/therail/staging/vendor/composer/ClassLoader.php(444): include('/home/therail/s...')
#3 /home/therail/staging/vendor/composer/ClassLoader.php(322): Composer\Autoload\includeFile('/home/therail/s...')
#4 /home/therail/staging/var/cache/prod/ContainerZxetio8/appProdProjectContainer.php(1809): Composer\Autoload\ClassLoader->loadClass('FOS\\RestBundle\\...')
#5 /home/therail/staging/var/cache/prod/ContainerZxetio8/appProdProjectContainer.php(1799): ContainerZxetio8\appProdProjectContainer->getFosRest_FormatNegotiatorService()
#6 /home/therail/staging/var/cache/prod/ContainerZxetio8/appProdProjectContainer.php(1099): ContainerZxetio8\appProdProjectContainer->getFosRest_FormatListenerService()
#7 /home/therail/staging/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php(231): ContainerZxetio8\appProdProjectContainer->ContainerZxetio8\{closure}()
#8 /home/therail/staging/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php(61): Symfony\Component\EventDispatcher\EventDispatcher->sortListeners('kernel.request')
#9 /home/therail/staging/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/ContainerAwareEventDispatcher.php(129): Symfony\Component\EventDispatcher\EventDispatcher->getListeners('kernel.request')
#10 /home/therail/staging/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php(43): Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher->getListeners('kernel.request')
#11 /home/therail/staging/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php(127): Symfony\Component\EventDispatcher\EventDispatcher->dispatch('kernel.request', Object(Symfony\Component\HttpKernel\Event\GetResponseEvent))
#12 /home/therail/staging/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php(68): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1)
#13 /home/therail/staging/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php(200): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#14 /home/therail/staging/web/app.php(28): Symfony\Component\HttpKernel\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request))
#15 {main}
thrown in /home/therail/staging/vendor/willdurand/negotiation/src/Negotiation/Negotiator.php on line 41