Drupal\Core\Database\DatabaseExceptionWrapper: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: SELECT 1 AS expression FROM {sessions} sessions WHERE sid = :db_condition_placeholder_0; Array ( [:db_condition_placeholder_0] => t_s1VcKh50G8tetKzlmr_sR_00F0O-RNoFf6ArqYGRc ) in Drupal\Core\Session\SessionHandler->write() (line 84 of /var/www/html/new_trainee/core/lib/Drupal/Core/Session/SessionHandler.php).
Drupal\Core\Session\SessionHandler->write('93wVS4aLQD9mKwelI-o-GmXNbB0Qs3zFuoBDQJUEHOk', '_symfony_flashes|a:1:{s:5:"error";a:1:{i:0;O:25:"Drupal\Core\Render\Markup":1:{s:9:"*string";s:2733:"<em class="placeholder">Warning</em>: Error while sending QUERY packet. PID=14837 in <em class="placeholder">Drupal\Core\Database\Statement->execute()</em> (line <em class="placeholder">59</em> of <em class="placeholder">core/lib/Drupal/Core/Database/Statement.php</em>). Drupal\Core\Database\Statement->execute(Array, Array) (Line: 631) Drupal\Core\Database\Connection->query('SELECT cid, data, created, expire, serialized, tags, checksum FROM {cache_discovery} WHERE cid IN ( :cids__0 ) ORDER BY cid', Array, Array) (Line: 358) Drupal\Core\Database\Driver\mysql\Connection->query('SELECT cid, data, created, expire, serialized, tags, checksum FROM {cache_discovery} WHERE cid IN ( :cids[] ) ORDER BY cid', Array) (Line: 113) Drupal\Core\Cache\DatabaseBackend->getMultiple(Array, ) (Line: 92) Drupal\Core\Cache\DatabaseBackend->get('variant_plugins') (Line: 37) Drupal\Core\Plugin\DefaultPluginManager->cacheGet('variant_plugins') (Line: 207) Drupal\Core\Plugin\DefaultPluginManager->getCachedDefinitions() (Line: 173) Drupal\Core\Plugin\DefaultPluginManager->getDefinitions() (Line: 22) Drupal\Core\Plugin\DefaultPluginManager->getDefinition('block_page') (Line: 16) Drupal\Core\Plugin\Factory\ContainerFactory->createInstance('block_page', Array) (Line: 83) Drupal\Component\Plugin\PluginManagerBase->createInstance('block_page') (Line: 236) Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 117) Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90) Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object) call_user_func(Array, Object, 'kernel.view', Object) (Line: 111) Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 156) Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68) Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 57) Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47) Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 106) Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85) Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 47) Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52) Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23) Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 693) Drupal\Core\DrupalKernel->handle(Object) (Line: 19) ";}}}_sf2_meta|a:3:{s:1:"u";i:1732483431;s:1:"c";i:1732483431;s:1:"l";s:7:"2000000";}') (Line: 89) Drupal\Core\Session\WriteSafeSessionHandler->write('93wVS4aLQD9mKwelI-o-GmXNbB0Qs3zFuoBDQJUEHOk', '_symfony_flashes|a:1:{s:5:"error";a:1:{i:0;O:25:"Drupal\Core\Render\Markup":1:{s:9:"*string";s:2733:"<em class="placeholder">Warning</em>: Error while sending QUERY packet. PID=14837 in <em class="placeholder">Drupal\Core\Database\Statement->execute()</em> (line <em class="placeholder">59</em> of <em class="placeholder">core/lib/Drupal/Core/Database/Statement.php</em>). Drupal\Core\Database\Statement->execute(Array, Array) (Line: 631) Drupal\Core\Database\Connection->query('SELECT cid, data, created, expire, serialized, tags, checksum FROM {cache_discovery} WHERE cid IN ( :cids__0 ) ORDER BY cid', Array, Array) (Line: 358) Drupal\Core\Database\Driver\mysql\Connection->query('SELECT cid, data, created, expire, serialized, tags, checksum FROM {cache_discovery} WHERE cid IN ( :cids[] ) ORDER BY cid', Array) (Line: 113) Drupal\Core\Cache\DatabaseBackend->getMultiple(Array, ) (Line: 92) Drupal\Core\Cache\DatabaseBackend->get('variant_plugins') (Line: 37) Drupal\Core\Plugin\DefaultPluginManager->cacheGet('variant_plugins') (Line: 207) Drupal\Core\Plugin\DefaultPluginManager->getCachedDefinitions() (Line: 173) Drupal\Core\Plugin\DefaultPluginManager->getDefinitions() (Line: 22) Drupal\Core\Plugin\DefaultPluginManager->getDefinition('block_page') (Line: 16) Drupal\Core\Plugin\Factory\ContainerFactory->createInstance('block_page', Array) (Line: 83) Drupal\Component\Plugin\PluginManagerBase->createInstance('block_page') (Line: 236) Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 117) Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90) Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object) call_user_func(Array, Object, 'kernel.view', Object) (Line: 111) Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 156) Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68) Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 57) Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47) Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 106) Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85) Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 47) Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52) Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23) Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 693) Drupal\Core\DrupalKernel->handle(Object) (Line: 19) ";}}}_sf2_meta|a:3:{s:1:"u";i:1732483431;s:1:"c";i:1732483431;s:1:"l";s:7:"2000000";}') (Line: 67) Symfony\Component\HttpFoundation\Session\Storage\Proxy\SessionHandlerProxy->write('93wVS4aLQD9mKwelI-o-GmXNbB0Qs3zFuoBDQJUEHOk', '_symfony_flashes|a:1:{s:5:"error";a:1:{i:0;O:25:"Drupal\Core\Render\Markup":1:{s:9:"*string";s:2733:"<em class="placeholder">Warning</em>: Error while sending QUERY packet. PID=14837 in <em class="placeholder">Drupal\Core\Database\Statement->execute()</em> (line <em class="placeholder">59</em> of <em class="placeholder">core/lib/Drupal/Core/Database/Statement.php</em>). Drupal\Core\Database\Statement->execute(Array, Array) (Line: 631) Drupal\Core\Database\Connection->query('SELECT cid, data, created, expire, serialized, tags, checksum FROM {cache_discovery} WHERE cid IN ( :cids__0 ) ORDER BY cid', Array, Array) (Line: 358) Drupal\Core\Database\Driver\mysql\Connection->query('SELECT cid, data, created, expire, serialized, tags, checksum FROM {cache_discovery} WHERE cid IN ( :cids[] ) ORDER BY cid', Array) (Line: 113) Drupal\Core\Cache\DatabaseBackend->getMultiple(Array, ) (Line: 92) Drupal\Core\Cache\DatabaseBackend->get('variant_plugins') (Line: 37) Drupal\Core\Plugin\DefaultPluginManager->cacheGet('variant_plugins') (Line: 207) Drupal\Core\Plugin\DefaultPluginManager->getCachedDefinitions() (Line: 173) Drupal\Core\Plugin\DefaultPluginManager->getDefinitions() (Line: 22) Drupal\Core\Plugin\DefaultPluginManager->getDefinition('block_page') (Line: 16) Drupal\Core\Plugin\Factory\ContainerFactory->createInstance('block_page', Array) (Line: 83) Drupal\Component\Plugin\PluginManagerBase->createInstance('block_page') (Line: 236) Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 117) Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90) Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object) call_user_func(Array, Object, 'kernel.view', Object) (Line: 111) Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 156) Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68) Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 57) Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47) Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 106) Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85) Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 47) Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52) Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23) Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 693) Drupal\Core\DrupalKernel->handle(Object) (Line: 19) ";}}}_sf2_meta|a:3:{s:1:"u";i:1732483431;s:1:"c";i:1732483431;s:1:"l";s:7:"2000000";}') session_write_close() (Line: 244) Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->save() (Line: 198) Drupal\Core\Session\SessionManager->save() (Line: 196) Symfony\Component\HttpFoundation\Session\Session->save() (Line: 60) Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47) Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 106) Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85) Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 47) Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52) Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23) Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 693) Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Drupal\Core\Extension\ModuleHandler->writeCache() (Line: 42) Drupal\Core\EventSubscriber\RequestCloseSubscriber->onTerminate(Object, 'kernel.terminate', Object) call_user_func(Array, Object, 'kernel.terminate', Object) (Line: 111) Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.terminate', Object) (Line: 88) Symfony\Component\HttpKernel\HttpKernel->terminate(Object, Object) (Line: 32) Stack\StackedHttpKernel->terminate(Object, Object) (Line: 671) Drupal\Core\DrupalKernel->terminate(Object, Object) (Line: 22)