( ! ) Warning: PDO::__construct(): MySQL server has gone away in /srv/kodovik.ru/releases/20160721200711/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php on line 40
Call Stack
#TimeMemoryFunctionLocation
10.0001233640{main}( )../app.php:0
20.00282762600Symfony\Component\HttpKernel\Kernel->handle( )../app.php:28
30.01364291480Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle( )../bootstrap.php.cache:2428
40.01364292912Symfony\Component\HttpKernel\HttpKernel->handle( )../bootstrap.php.cache:3206
50.01364293864Symfony\Component\HttpKernel\HttpKernel->handleRaw( )../bootstrap.php.cache:3055
60.01364294616Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch( )../bootstrap.php.cache:3082
70.04204513520Symfony\Component\EventDispatcher\EventDispatcher->dispatch( )../classes.php:2358
80.04234515128Symfony\Component\EventDispatcher\EventDispatcher->doDispatch( )../classes.php:2197
90.29506907216call_user_func:{/srv/kodovik.ru/releases/20160721200711/app/cache/prod/classes.php:2264} ( )../classes.php:2264
100.29506907456MIH\GeoBundle\Listener\KernelListener->onKernelRequest( )../classes.php:2264
110.29566917176Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch( )../KernelListener.php:46
120.29587031032Symfony\Component\EventDispatcher\EventDispatcher->dispatch( )../classes.php:2358
130.29597031416Symfony\Component\EventDispatcher\EventDispatcher->doDispatch( )../classes.php:2197
140.29597031768call_user_func:{/srv/kodovik.ru/releases/20160721200711/app/cache/prod/classes.php:2264} ( )../classes.php:2264
150.29597032032MIH\GeoBundle\Listener\ResolveCityListener->resolve( )../classes.php:2264
160.32607132256Doctrine\ORM\EntityRepository->findOneBy( )../ResolveCityListener.php:52
170.32637174120Doctrine\ORM\Persisters\BasicEntityPersister->load( )../EntityRepository.php:196
180.34367244640Doctrine\DBAL\Connection->executeQuery( )../BasicEntityPersister.php:748
190.34367245040Doctrine\DBAL\Connection->connect( )../Connection.php:680
200.34367245080Doctrine\DBAL\Driver\PDOMySql\Driver->connect( )../Connection.php:356
210.34377267464Doctrine\DBAL\Driver\PDOConnection->__construct( )../Driver.php:41
220.34377267512__construct ( )../PDOConnection.php:40

( ! ) Warning: PDO::__construct(): Error while reading greeting packet. PID=9728 in /srv/kodovik.ru/releases/20160721200711/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php on line 40
Call Stack
#TimeMemoryFunctionLocation
10.0001233640{main}( )../app.php:0
20.00282762600Symfony\Component\HttpKernel\Kernel->handle( )../app.php:28
30.01364291480Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle( )../bootstrap.php.cache:2428
40.01364292912Symfony\Component\HttpKernel\HttpKernel->handle( )../bootstrap.php.cache:3206
50.01364293864Symfony\Component\HttpKernel\HttpKernel->handleRaw( )../bootstrap.php.cache:3055
60.01364294616Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch( )../bootstrap.php.cache:3082
70.04204513520Symfony\Component\EventDispatcher\EventDispatcher->dispatch( )../classes.php:2358
80.04234515128Symfony\Component\EventDispatcher\EventDispatcher->doDispatch( )../classes.php:2197
90.29506907216call_user_func:{/srv/kodovik.ru/releases/20160721200711/app/cache/prod/classes.php:2264} ( )../classes.php:2264
100.29506907456MIH\GeoBundle\Listener\KernelListener->onKernelRequest( )../classes.php:2264
110.29566917176Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch( )../KernelListener.php:46
120.29587031032Symfony\Component\EventDispatcher\EventDispatcher->dispatch( )../classes.php:2358
130.29597031416Symfony\Component\EventDispatcher\EventDispatcher->doDispatch( )../classes.php:2197
140.29597031768call_user_func:{/srv/kodovik.ru/releases/20160721200711/app/cache/prod/classes.php:2264} ( )../classes.php:2264
150.29597032032MIH\GeoBundle\Listener\ResolveCityListener->resolve( )../classes.php:2264
160.32607132256Doctrine\ORM\EntityRepository->findOneBy( )../ResolveCityListener.php:52
170.32637174120Doctrine\ORM\Persisters\BasicEntityPersister->load( )../EntityRepository.php:196
180.34367244640Doctrine\DBAL\Connection->executeQuery( )../BasicEntityPersister.php:748
190.34367245040Doctrine\DBAL\Connection->connect( )../Connection.php:680
200.34367245080Doctrine\DBAL\Driver\PDOMySql\Driver->connect( )../Connection.php:356
210.34377267464Doctrine\DBAL\Driver\PDOConnection->__construct( )../Driver.php:41
220.34377267512__construct ( )../PDOConnection.php:40

( ! ) Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000] [2006] MySQL server has gone away' in /srv/kodovik.ru/releases/20160721200711/app/cache/prod/classes.php on line 5222
( ! ) PDOException: SQLSTATE[HY000] [2002] Connection refused in /srv/kodovik.ru/releases/20160721200711/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php on line 40
Call Stack
#TimeMemoryFunctionLocation
10.61439003616Symfony\Component\Debug\ErrorHandler->handleException( )../classes.php:0
20.64529028616call_user_func:{/srv/kodovik.ru/releases/20160721200711/app/cache/prod/classes.php:1992} ( )../classes.php:1992
30.64539028784Symfony\Component\HttpKernel\HttpKernel->terminateWithException( )../classes.php:1992
40.64539028832Symfony\Component\HttpKernel\HttpKernel->handleException( )../bootstrap.php.cache:3073
50.64539029288Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch( )../bootstrap.php.cache:3125
60.64539029288Symfony\Component\EventDispatcher\EventDispatcher->dispatch( )../classes.php:2358
70.64539029192Symfony\Component\EventDispatcher\EventDispatcher->doDispatch( )../classes.php:2197
80.64539029632call_user_func:{/srv/kodovik.ru/releases/20160721200711/app/cache/prod/classes.php:2264} ( )../classes.php:2264
90.64539029672Symfony\Component\HttpKernel\EventListener\ExceptionListener->onKernelException( )../classes.php:2264
100.70319697688Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle( )../ExceptionListener.php:50
110.70329698192Symfony\Component\HttpKernel\HttpKernel->handle( )../bootstrap.php.cache:3206
120.70329699856Symfony\Component\HttpKernel\HttpKernel->handleRaw( )../bootstrap.php.cache:3055
130.70419701304call_user_func_array:{/srv/kodovik.ru/releases/20160721200711/app/bootstrap.php.cache:3093} ( )../bootstrap.php.cache:3093
140.70439701824Symfony\Bundle\TwigBundle\Controller\ExceptionController->showAction( )../bootstrap.php.cache:3093
150.72649706528Twig_Environment->render( )../ExceptionController.php:74
160.72659706528Twig_Template->render( )../classes.php:3594
170.72659723152Twig_Template->display( )../classes.php:5199
180.72659724792Twig_Template->displayWithErrorHandling( )../classes.php:5192
190.72659724792__TwigTemplate_1d318be57a092588f94b62e39b3fa6828b75394ee42e75e1bbcfcbb81b7e39e7->doDisplay( )../classes.php:5211
200.72659725104Twig_Template->display( )../1d318be57a092588f94b62e39b3fa6828b75394ee42e75e1bbcfcbb81b7e39e7.php:24
210.72659726128Twig_Template->displayWithErrorHandling( )../classes.php:5192
220.72659726128__TwigTemplate_aaf49833aceae7611a1b388c1bf5a439fc585f589cc6842e1405932124067ef3->doDisplay( )../classes.php:5211
230.72689726208Twig_Template->displayBlock( )../aaf49833aceae7611a1b388c1bf5a439fc585f589cc6842e1405932124067ef3.php:114
240.72689726336__TwigTemplate_aaf49833aceae7611a1b388c1bf5a439fc585f589cc6842e1405932124067ef3->block_header( )../classes.php:5131
250.72689726336Twig_Template->display( )../aaf49833aceae7611a1b388c1bf5a439fc585f589cc6842e1405932124067ef3.php:497
260.72689726608Twig_Template->displayWithErrorHandling( )../classes.php:5192
270.72689726608__TwigTemplate_f87585b8ace64357c3d6c3df0fdff7ec0db971d9fd32b53b316d3c94ff9517f1->doDisplay( )../classes.php:5211
280.72709726608MIH\GeoBundle\Twig\Geo->currentCity( )../f87585b8ace64357c3d6c3df0fdff7ec0db971d9fd32b53b316d3c94ff9517f1.php:48
290.72709726608MIH\GeoBundle\Service\User->getCurrentCity( )../Geo.php:45
300.72709726656Doctrine\ORM\EntityRepository->find( )../User.php:52
310.72709726752Doctrine\ORM\EntityManager->find( )../EntityRepository.php:154
320.72709727424Doctrine\ORM\Persisters\BasicEntityPersister->load( )../EntityManager.php:411
330.72739728648Doctrine\DBAL\Connection->executeQuery( )../BasicEntityPersister.php:748
340.72739728696Doctrine\DBAL\Connection->connect( )../Connection.php:680
350.72739728696Doctrine\DBAL\Driver\PDOMySql\Driver->connect( )../Connection.php:356
360.72739729176Doctrine\DBAL\Driver\PDOConnection->__construct( )../Driver.php:41
370.72739729224__construct ( )../PDOConnection.php:40
( ! ) Twig_Error_Runtime: An exception has been thrown during the rendering of a template ("SQLSTATE[HY000] [2002] Connection refused") in "KodovikSiteBundle:Template:header.html.twig" at line 40. in /srv/kodovik.ru/releases/20160721200711/app/cache/prod/classes.php on line 5222
Call Stack
#TimeMemoryFunctionLocation
10.61439003616Symfony\Component\Debug\ErrorHandler->handleException( )../classes.php:0
20.75739878864Symfony\Component\Debug\ErrorHandler->handleException( )../classes.php:1998