Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away in /home/scylla/librairie/inc/Entity.class.php:369
Stack trace:
#0 /home/scylla/librairie/inc/Entity.class.php(369): PDOStatement->execute(Array)
#1 /home/scylla/librairie/inc/Entity.class.php(346): EntityManager::prepareAndExecute('SELECT * FROM `...', Array)
#2 /home/scylla/librairie/inc/Entity.class.php(398): EntityManager->getQuery('SELECT * FROM `...', Array, Array, true)
#3 /home/scylla/librairie/inc/Entity.class.php(444): EntityManager->getAll(Array, Array)
#4 /home/scylla/librairie/inc/Entity.class.php(413): EntityManager->get(Array)
#5 /home/scylla/librairie/src/Biblys/Legacy/TemplateGlobal/Site.php(34): EntityManager->getById(8)
#6 /home/scylla/librairie/src/Biblys/Service/TemplateService.php(186): Biblys\Legacy\TemplateGlobal\Site->__construct(Object(Biblys\Service\Config))
#7 /home/scylla/librairie/src/Biblys/Service/TemplateService.php(86): Biblys\Service\TemplateService->_getTwigEnvironment()
#8 /home/scylla/librairie/src/Biblys/Service/TemplateService.php(100): Biblys\Service\TemplateService->render('AppBundle:Legac...', Array)
#9 /home/scylla/librairie/src/AppBundle/Controller/LegacyController.php(143): Biblys\Service\TemplateService->renderResponse('AppBundle:Legac...', Array, false)
#10 /home/scylla/librairie/vendor/symfony/http-kernel/HttpKernel.php(181): AppBundle\Controller\LegacyController->defaultAction(Object(Symfony\Component\HttpFoundation\Request), Object(Symfony\Component\HttpFoundation\Session\Session), Object(Biblys\Service\Mailer), Object(Biblys\Service\Config), Object(Biblys\Service\CurrentSite), Object(Biblys\Service\CurrentUser), Object(Symfony\Component\Routing\Generator\UrlGenerator), Object(Biblys\Service\TemplateService), Object(Biblys\Service\MetaTagsService))
#11 /home/scylla/librairie/vendor/symfony/http-kernel/HttpKernel.php(76): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1)
#12 /home/scylla/librairie/public/index.php(56): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request))
#13 {main}
Next PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away in /home/scylla/librairie/inc/Entity.class.php:369
Stack trace:
#0 /home/scylla/librairie/inc/Entity.class.php(369): PDOStatement->execute(Array)
#1 /home/scylla/librairie/inc/Entity.class.php(346): EntityManager::prepareAndExecute('SELECT * FROM `...', Array)
#2 /home/scylla/librairie/inc/Entity.class.php(398): EntityManager->getQuery('SELECT * FROM `...', Array, Array, true)
#3 /home/scylla/librairie/inc/Entity.class.php(444): EntityManager->getAll(Array, Array)
#4 /home/scylla/librairie/inc/Entity.class.php(413): EntityManager->get(Array)
#5 /home/scylla/librairie/src/Biblys/Legacy/TemplateGlobal/Site.php(34): EntityManager->getById(8)
#6 /home/scylla/librairie/src/Biblys/Service/TemplateService.php(186): Biblys\Legacy\TemplateGlobal\Site->__construct(Object(Biblys\Service\Config))
#7 /home/scylla/librairie/src/Biblys/Service/TemplateService.php(86): Biblys\Service\TemplateService->_getTwigEnvironment()
#8 /home/scylla/librairie/src/Biblys/Service/TemplateService.php(100): Biblys\Service\TemplateService->render('AppBundle:Error...', Array)
#9 /home/scylla/librairie/src/AppBundle/Controller/ErrorController.php(267): Biblys\Service\TemplateService->renderResponse('AppBundle:Error...', Array)
#10 /home/scylla/librairie/src/AppBundle/Controller/ErrorController.php(119): AppBundle\Controller\ErrorController->handleServerError(Object(Symfony\Component\HttpFoundation\Request), Object(Biblys\Service\TemplateService), Object(PDOException))
#11 /home/scylla/librairie/vendor/symfony/http-kernel/HttpKernel.php(181): AppBundle\Controller\ErrorController->exception(Object(Symfony\Component\HttpFoundation\Request), Object(Biblys\Service\Config), Object(Biblys\Service\CurrentSite), Object(Biblys\Service\CurrentUrlService), Object(Symfony\Component\Routing\Generator\UrlGenerator), Object(Symfony\Component\HttpFoundation\Session\Session), Object(Biblys\Service\TemplateService), Object(PDOException))
#12 /home/scylla/librairie/vendor/symfony/http-kernel/HttpKernel.php(76): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 2)
#13 /home/scylla/librairie/vendor/symfony/http-kernel/EventListener/ErrorListener.php(117): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 2, false)
#14 /home/scylla/librairie/vendor/symfony/event-dispatcher/EventDispatcher.php(220): Symfony\Component\HttpKernel\EventListener\ErrorListener->onKernelException(Object(Symfony\Component\HttpKernel\Event\ExceptionEvent), 'kernel.exceptio...', Object(Symfony\Component\EventDispatcher\EventDispatcher))
#15 /home/scylla/librairie/vendor/symfony/event-dispatcher/EventDispatcher.php(56): Symfony\Component\EventDispatcher\EventDispatcher->callListeners(Array, 'kernel.exceptio...', Object(Symfony\Component\HttpKernel\Event\ExceptionEvent))
#16 /home/scylla/librairie/vendor/symfony/http-kernel/HttpKernel.php(239): Symfony\Component\EventDispatcher\EventDispatcher->dispatch(Object(Symfony\Component\HttpKernel\Event\ExceptionEvent), 'kernel.exceptio...')
#17 /home/scylla/librairie/vendor/symfony/http-kernel/HttpKernel.php(91): Symfony\Component\HttpKernel\HttpKernel->handleThrowable(Object(PDOException), Object(Symfony\Component\HttpFoundation\Request), 1)
#18 /home/scylla/librairie/public/index.php(56): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request))
#19 {main}
thrown in /home/scylla/librairie/inc/Entity.class.php on line 369