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 /var/www/nihonseikithai.co.th/website/releases/20210423160514/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 /var/www/nihonseikithai.co.th/website/releases/20210423160514/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/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 /var/www/nihonseikithai.co.th/website/releases/20210423160514/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/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 /var/www/nihonseikithai.co.th/website/releases/20210423160514/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/HeaderBag.php on line 272
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 /var/www/nihonseikithai.co.th/website/releases/20210423160514/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/HeaderBag.php on line 282
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /var/www/nihonseikithai.co.th/website/releases/20210423160514/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php on line 316
Deprecated: preg_split(): Passing null to parameter #2 ($subject) of type string is deprecated in /var/www/nihonseikithai.co.th/website/releases/20210423160514/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php on line 1650
Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /var/www/nihonseikithai.co.th/website/releases/20210423160514/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Request.php on line 1650
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 /var/www/nihonseikithai.co.th/website/releases/20210423160514/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/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 /var/www/nihonseikithai.co.th/website/releases/20210423160514/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/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 /var/www/nihonseikithai.co.th/website/releases/20210423160514/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Debug/FileLinkFormatter.php on line 22
Fatal error: Uncaught Symfony\Component\Debug\Exception\FatalThrowableError: Parse error: syntax error, unexpected token "match", expecting "class" in /var/www/nihonseikithai.co.th/website/releases/20210423160514/vendor/willdurand/negotiation/src/Negotiation/Negotiator.php:41
Stack trace:
#0 /var/www/nihonseikithai.co.th/website/releases/20210423160514/vendor/composer/ClassLoader.php(322): Composer\Autoload\includeFile('/var/www/nihons...')
#1 /var/www/nihonseikithai.co.th/website/releases/20210423160514/vendor/friendsofsymfony/rest-bundle/Negotiation/FormatNegotiator.php(24): Composer\Autoload\ClassLoader->loadClass('Negotiation\\Neg...')
#2 /var/www/nihonseikithai.co.th/website/releases/20210423160514/vendor/composer/ClassLoader.php(444): include('/var/www/nihons...')
#3 /var/www/nihonseikithai.co.th/website/releases/20210423160514/vendor/composer/ClassLoader.php(322): Composer\Autoload\includeFile('/var/www/nihons...')
#4 /var/www/nihonseikithai.co.th/website/releases/20210423160514/var/cache/prod/appProdProjectContainer.php(2391): Composer\Autoload\ClassLoader->loadClass('FOS\\RestBundle\\...')
#5 /var/www/nihonseikithai.co.th/website/releases/20210423160514/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php(329): appProdProjectContainer->getFosRest_FormatNegotiatorService()
#6 /var/www/nihonseikithai.co.th/website/releases/20210423160514/var/cache/prod/appProdProjectContainer.php(2381): Symfony\Component\DependencyInjection\Container->get('fos_rest.format...')
#7 /var/www/nihonseikithai.co.th/website/releases/20210423160514/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php(329): appProdProjectContainer->getFosRest_FormatListenerService()
#8 /var/www/nihonseikithai.co.th/website/releases/20210423160514/var/cache/prod/appProdProjectContainer.php(1464): Symfony\Component\DependencyInjection\Container->get('fos_rest.format...')
#9 /var/www/nihonseikithai.co.th/website/releases/20210423160514/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php(229): appProdProjectContainer->{closure}()
#10 /var/www/nihonseikithai.co.th/website/releases/20210423160514/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php(61): Symfony\Component\EventDispatcher\EventDispatcher->sortListeners('kernel.request')
#11 /var/www/nihonseikithai.co.th/website/releases/20210423160514/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/ContainerAwareEventDispatcher.php(128): Symfony\Component\EventDispatcher\EventDispatcher->getListeners('kernel.request')
#12 /var/www/nihonseikithai.co.th/website/releases/20210423160514/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php(43): Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher->getListeners('kernel.request')
#13 /var/www/nihonseikithai.co.th/website/releases/20210423160514/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php(127): Symfony\Component\EventDispatcher\EventDispatcher->dispatch('kernel.request', Object(Symfony\Component\HttpKernel\Event\GetResponseEvent))
#14 /var/www/nihonseikithai.co.th/website/releases/20210423160514/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php(68): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1)
#15 /var/www/nihonseikithai.co.th/website/releases/20210423160514/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php(169): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#16 /var/www/nihonseikithai.co.th/website/releases/20210423160514/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php(462): Symfony\Component\HttpKernel\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#17 /var/www/nihonseikithai.co.th/website/releases/20210423160514/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/HttpCache/HttpCache.php(57): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(Object(Symfony\Component\HttpFoundation\Request), true, Object(Symfony\Component\HttpFoundation\Response))
#18 /var/www/nihonseikithai.co.th/website/releases/20210423160514/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php(362): Symfony\Bundle\FrameworkBundle\HttpCache\HttpCache->forward(Object(Symfony\Component\HttpFoundation\Request), true, Object(Symfony\Component\HttpFoundation\Response))
#19 /var/www/nihonseikithai.co.th/website/releases/20210423160514/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php(319): Symfony\Component\HttpKernel\HttpCache\HttpCache->validate(Object(Symfony\Component\HttpFoundation\Request), Object(Symfony\Component\HttpFoundation\Response), true)
#20 /var/www/nihonseikithai.co.th/website/releases/20210423160514/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php(188): Symfony\Component\HttpKernel\HttpCache\HttpCache->lookup(Object(Symfony\Component\HttpFoundation\Request), true)
#21 /var/www/nihonseikithai.co.th/website/releases/20210423160514/web/app.php(22): Symfony\Component\HttpKernel\HttpCache\HttpCache->handle(Object(Symfony\Component\HttpFoundation\Request))
#22 {main}
thrown in /var/www/nihonseikithai.co.th/website/releases/20210423160514/vendor/willdurand/negotiation/src/Negotiation/Negotiator.php on line 41