Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away in /app/vendor/symfony/http-foundation/Session/Storage/Handler/PdoSessionHandler.php:641
Stack trace:
#0 /app/vendor/symfony/http-foundation/Session/Storage/Handler/PdoSessionHandler.php(641): PDO->rollBack()
#1 /app/vendor/symfony/http-foundation/Session/Storage/Handler/PdoSessionHandler.php(302): Symfony\Component\HttpFoundation\Session\Storage\Handler\PdoSessionHandler->rollback()
#2 /app/vendor/symfony/http-foundation/Session/Storage/Handler/AbstractSessionHandler.php(66): Symfony\Component\HttpFoundation\Session\Storage\Handler\PdoSessionHandler->read('a944236d3367682...')
#3 /app/vendor/symfony/http-foundation/Session/Storage/Proxy/SessionHandlerProxy.php(100): Symfony\Component\HttpFoundation\Session\Storage\Handler\AbstractSessionHandler->validateId('a944236d3367682...')
#4 [internal function]: Symfony\Component\HttpFoundation\Session\Storage\Proxy\SessionHandlerProxy->validateId('a944236d3367682...')
#5 /app/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php(185): session_start()
#6 /app/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php(352): Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->start()
#7 /app/vendor/symfony/http-foundation/Session/Session.php(261): Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->getBag('attributes')
#8 /app/vendor/symfony/http-foundation/Session/Session.php(283): Symfony\Component\HttpFoundation\Session\Session->getBag('attributes')
#9 /app/vendor/symfony/http-foundation/Session/Session.php(85): Symfony\Component\HttpFoundation\Session\Session->getAttributeBag()
#10 /app/src/EventSubscriber/LocaleSubscriber.php(30): Symfony\Component\HttpFoundation\Session\Session->set('_locale', 'en')
#11 /app/vendor/symfony/event-dispatcher/EventDispatcher.php(270): App\EventSubscriber\LocaleSubscriber->onKernelRequest(Object(Symfony\Component\HttpKernel\Event\RequestEvent), 'kernel.request', Object(Symfony\Component\EventDispatcher\EventDispatcher))
#12 /app/vendor/symfony/event-dispatcher/EventDispatcher.php(230): Symfony\Component\EventDispatcher\EventDispatcher::Symfony\Component\EventDispatcher\{closure}(Object(Symfony\Component\HttpKernel\Event\RequestEvent), 'kernel.request', Object(Symfony\Component\EventDispatcher\EventDispatcher))
#13 /app/vendor/symfony/event-dispatcher/EventDispatcher.php(59): Symfony\Component\EventDispatcher\EventDispatcher->callListeners(Array, 'kernel.request', Object(Symfony\Component\HttpKernel\Event\RequestEvent))
#14 /app/vendor/symfony/http-kernel/HttpKernel.php(139): Symfony\Component\EventDispatcher\EventDispatcher->dispatch(Object(Symfony\Component\HttpKernel\Event\RequestEvent), 'kernel.request')
#15 /app/vendor/symfony/http-kernel/HttpKernel.php(75): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1)
#16 /app/vendor/symfony/http-kernel/Kernel.php(202): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#17 /app/public/index.php(28): Symfony\Component\HttpKernel\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request))
#18 {main}
Next PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away in /app/vendor/symfony/http-foundation/Session/Storage/Handler/PdoSessionHandler.php:641
Stack trace:
#0 /app/vendor/symfony/http-foundation/Session/Storage/Handler/PdoSessionHandler.php(641): PDO->rollBack()
#1 /app/vendor/symfony/http-foundation/Session/Storage/Handler/PdoSessionHandler.php(302): Symfony\Component\HttpFoundation\Session\Storage\Handler\PdoSessionHandler->rollback()
#2 /app/vendor/symfony/http-foundation/Session/Storage/Handler/AbstractSessionHandler.php(66): Symfony\Component\HttpFoundation\Session\Storage\Handler\PdoSessionHandler->read('a944236d3367682...')
#3 /app/vendor/symfony/http-foundation/Session/Storage/Proxy/SessionHandlerProxy.php(100): Symfony\Component\HttpFoundation\Session\Storage\Handler\AbstractSessionHandler->validateId('a944236d3367682...')
#4 [internal function]: Symfony\Component\HttpFoundation\Session\Storage\Proxy\SessionHandlerProxy->validateId('a944236d3367682...')
#5 /app/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php(185): session_start()
#6 /app/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php(352): Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->start()
#7 /app/vendor/symfony/http-foundation/Session/Session.php(261): Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->getBag('attributes')
#8 /app/vendor/symfony/http-foundation/Session/Session.php(283): Symfony\Component\HttpFoundation\Session\Session->getBag('attributes')
#9 /app/vendor/symfony/http-foundation/Session/Session.php(77): Symfony\Component\HttpFoundation\Session\Session->getAttributeBag()
#10 /app/src/EventSubscriber/LocaleSubscriber.php(33): Symfony\Component\HttpFoundation\Session\Session->get('_locale', 'de')
#11 /app/vendor/symfony/event-dispatcher/EventDispatcher.php(230): App\EventSubscriber\LocaleSubscriber->onKernelRequest(Object(Symfony\Component\HttpKernel\Event\RequestEvent), 'kernel.request', Object(Symfony\Component\EventDispatcher\EventDispatcher))
#12 /app/vendor/symfony/event-dispatcher/EventDispatcher.php(59): Symfony\Component\EventDispatcher\EventDispatcher->callListeners(Array, 'kernel.request', Object(Symfony\Component\HttpKernel\Event\RequestEvent))
#13 /app/vendor/symfony/http-kernel/HttpKernel.php(139): Symfony\Component\EventDispatcher\EventDispatcher->dispatch(Object(Symfony\Component\HttpKernel\Event\RequestEvent), 'kernel.request')
#14 /app/vendor/symfony/http-kernel/HttpKernel.php(75): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 2)
#15 /app/vendor/symfony/http-kernel/EventListener/ErrorListener.php(91): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 2, false)
#16 /app/vendor/symfony/event-dispatcher/EventDispatcher.php(270): Symfony\Component\HttpKernel\EventListener\ErrorListener->onKernelException(Object(Symfony\Component\HttpKernel\Event\ExceptionEvent), 'kernel.exceptio...', Object(Symfony\Component\EventDispatcher\EventDispatcher))
#17 /app/vendor/symfony/event-dispatcher/EventDispatcher.php(230): Symfony\Component\EventDispatcher\EventDispatcher::Symfony\Component\EventDispatcher\{closure}(Object(Symfony\Component\HttpKernel\Event\ExceptionEvent), 'kernel.exceptio...', Object(Symfony\Component\EventDispatcher\EventDispatcher))
#18 /app/vendor/symfony/event-dispatcher/EventDispatcher.php(59): Symfony\Component\EventDispatcher\EventDispatcher->callListeners(Array, 'kernel.exceptio...', Object(Symfony\Component\HttpKernel\Event\ExceptionEvent))
#19 /app/vendor/symfony/http-kernel/HttpKernel.php(223): Symfony\Component\EventDispatcher\EventDispatcher->dispatch(Object(Symfony\Component\HttpKernel\Event\ExceptionEvent), 'kernel.exceptio...')
#20 /app/vendor/symfony/http-kernel/HttpKernel.php(86): Symfony\Component\HttpKernel\HttpKernel->handleThrowable(Object(PDOException), Object(Symfony\Component\HttpFoundation\Request), 1)
#21 /app/vendor/symfony/http-kernel/Kernel.php(202): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#22 /app/public/index.php(28): Symfony\Component\HttpKernel\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request))
#23 {main}
thrown in /app/vendor/symfony/http-foundation/Session/Storage/Handler/PdoSessionHandler.php on line 641