Fatal error: Uncaught PDOException: SQLSTATE[08S01]: Communication link failure: 1053 Server shutdown in progress in /home/charybde/biblys/inc/Entity.class.php:369
Stack trace:
#0 /home/charybde/biblys/inc/Entity.class.php(369): PDOStatement->execute(Array)
#1 /home/charybde/biblys/inc/Entity.class.php(346): EntityManager::prepareAndExecute('SELECT * FROM `...', Array)
#2 /home/charybde/biblys/inc/Entity.class.php(412): EntityManager->getQuery('SELECT * FROM `...', Array, Array, true)
#3 /home/charybde/biblys/inc/Order.class.php(560): EntityManager->getAll(Array, Array)
#4 /home/charybde/biblys/inc/Entity.class.php(458): OrderManager->getAll(Array, Array)
#5 /home/charybde/biblys/inc/Stock.class.php(50): EntityManager->get(Array)
#6 /home/charybde/biblys/inc/Entity.class.php(350): Stock->__construct(Array, true)
#7 /home/charybde/biblys/inc/Entity.class.php(412): EntityManager->getQuery('SELECT * FROM `...', Array, Array, true)
#8 /home/charybde/biblys/inc/Stock.class.php(365): EntityManager->getAll(Array, Array, true)
#9 /home/charybde/biblys/inc/Article.class.php(508): StockManager->getAll(Array, Array)
#10 /home/charybde/biblys/inc/Article.class.php(525): Article->getAvailableItems('new', Array)
#11 /home/charybde/biblys/vendor/twig/twig/src/Extension/CoreExtension.php(1861): Article->getCheapestAvailableItem('new')
#12 /home/charybde/biblys/vendor/twig/twig/src/Environment.php(407) : eval()'d code(221): Twig\Extension\CoreExtension::getAttribute(Object(Twig\Environment), Object(Twig\Source), Object(Article), 'getCheapestAvai...', Array, 'method', false, false, false, 66)
#13 /home/charybde/biblys/vendor/twig/twig/src/Template.php(431): __TwigTemplate_018abeb407331eaab30cbfa90c7dde8c->block_main(Array, Array)
#14 /home/charybde/biblys/vendor/twig/twig/src/Environment.php(407) : eval()'d code(145): Twig\Template->yieldBlock('main', Array, Array)
#15 /home/charybde/biblys/vendor/twig/twig/src/Template.php(387): __TwigTemplate_0caee523a5b64d1caf7150cf58575e8a->doDisplay(Array, Array)
#16 /home/charybde/biblys/vendor/twig/twig/src/Environment.php(407) : eval()'d code(48): Twig\Template->yield(Array, Array)
#17 /home/charybde/biblys/vendor/twig/twig/src/Template.php(387): __TwigTemplate_018abeb407331eaab30cbfa90c7dde8c->doDisplay(Array, Array)
#18 /home/charybde/biblys/vendor/twig/twig/src/Template.php(343): Twig\Template->yield(Array, Array)
#19 /home/charybde/biblys/vendor/twig/twig/src/Template.php(358): Twig\Template->display(Array)
#20 /home/charybde/biblys/vendor/twig/twig/src/TemplateWrapper.php(35): Twig\Template->render(Array)
#21 /home/charybde/biblys/src/Biblys/Service/TemplateService.php(87): Twig\TemplateWrapper->render(Array)
#22 /home/charybde/biblys/src/Biblys/Service/TemplateService.php(98): Biblys\Service\TemplateService->render('AppBundle:Artic...', Array)
#23 /home/charybde/biblys/src/AppBundle/Controller/ArticleController.php(167): Biblys\Service\TemplateService->renderResponse('AppBundle:Artic...', Array)
#24 /home/charybde/biblys/vendor/symfony/http-kernel/HttpKernel.php(181): AppBundle\Controller\ArticleController->showAction(Object(Symfony\Component\HttpFoundation\Request), Object(Biblys\Service\Config), Object(Biblys\Service\CurrentSite), Object(Symfony\Component\Routing\Generator\UrlGenerator), Object(Biblys\Service\LoggerService), Object(Biblys\Service\MetaTagsService), Object(Biblys\Service\TemplateService), Object(Biblys\Service\Images\ImagesService), 'brecht-evens/le...')
#25 /home/charybde/biblys/vendor/symfony/http-kernel/HttpKernel.php(76): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1)
#26 /home/charybde/biblys/public/index.php(56): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request))
#27 {main}
Next Twig\Error\RuntimeError: An exception has been thrown during the rendering of a template ("SQLSTATE[08S01]: Communication link failure: 1053 Server shutdown in progress"). in /home/charybde/biblys/src/Framework/../../app/views/Article/show.html.twig:66
Stack trace:
#0 /home/charybde/biblys/vendor/twig/twig/src/Environment.php(407) : eval()'d code(145): Twig\Template->yieldBlock('main', Array, Array)
#1 /home/charybde/biblys/vendor/twig/twig/src/Template.php(387): __TwigTemplate_0caee523a5b64d1caf7150cf58575e8a->doDisplay(Array, Array)
#2 /home/charybde/biblys/vendor/twig/twig/src/Environment.php(407) : eval()'d code(48): Twig\Template->yield(Array, Array)
#3 /home/charybde/biblys/vendor/twig/twig/src/Template.php(387): __TwigTemplate_018abeb407331eaab30cbfa90c7dde8c->doDisplay(Array, Array)
#4 /home/charybde/biblys/vendor/twig/twig/src/Template.php(343): Twig\Template->yield(Array, Array)
#5 /home/charybde/biblys/vendor/twig/twig/src/Template.php(358): Twig\Template->display(Array)
#6 /home/charybde/biblys/vendor/twig/twig/src/TemplateWrapper.php(35): Twig\Template->render(Array)
#7 /home/charybde/biblys/src/Biblys/Service/TemplateService.php(87): Twig\TemplateWrapper->render(Array)
#8 /home/charybde/biblys/src/Biblys/Service/TemplateService.php(98): Biblys\Service\TemplateService->render('AppBundle:Artic...', Array)
#9 /home/charybde/biblys/src/AppBundle/Controller/ArticleController.php(167): Biblys\Service\TemplateService->renderResponse('AppBundle:Artic...', Array)
#10 /home/charybde/biblys/vendor/symfony/http-kernel/HttpKernel.php(181): AppBundle\Controller\ArticleController->showAction(Object(Symfony\Component\HttpFoundation\Request), Object(Biblys\Service\Config), Object(Biblys\Service\CurrentSite), Object(Symfony\Component\Routing\Generator\UrlGenerator), Object(Biblys\Service\LoggerService), Object(Biblys\Service\MetaTagsService), Object(Biblys\Service\TemplateService), Object(Biblys\Service\Images\ImagesService), 'brecht-evens/le...')
#11 /home/charybde/biblys/vendor/symfony/http-kernel/HttpKernel.php(76): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1)
#12 /home/charybde/biblys/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/charybde/biblys/inc/Entity.class.php:369
Stack trace:
#0 /home/charybde/biblys/inc/Entity.class.php(369): PDOStatement->execute(Array)
#1 /home/charybde/biblys/inc/Entity.class.php(346): EntityManager::prepareAndExecute('SELECT * FROM `...', Array)
#2 /home/charybde/biblys/inc/Entity.class.php(412): EntityManager->getQuery('SELECT * FROM `...', Array, Array, true)
#3 /home/charybde/biblys/inc/Entity.class.php(458): EntityManager->getAll(Array, Array)
#4 /home/charybde/biblys/inc/Entity.class.php(427): EntityManager->get(Array)
#5 /home/charybde/biblys/src/Biblys/Legacy/TemplateGlobal/Site.php(34): EntityManager->getById(5)
#6 /home/charybde/biblys/src/Biblys/Service/TemplateService.php(162): Biblys\Legacy\TemplateGlobal\Site->__construct(Object(Biblys\Service\Config))
#7 /home/charybde/biblys/src/Biblys/Service/TemplateService.php(85): Biblys\Service\TemplateService->_getTwigEnvironment()
#8 /home/charybde/biblys/src/Biblys/Service/TemplateService.php(98): Biblys\Service\TemplateService->render('AppBundle:Error...', Array)
#9 /home/charybde/biblys/src/AppBundle/Controller/ErrorController.php(248): Biblys\Service\TemplateService->renderResponse('AppBundle:Error...', Array)
#10 /home/charybde/biblys/src/AppBundle/Controller/ErrorController.php(119): AppBundle\Controller\ErrorController->handleServerError(Object(Symfony\Component\HttpFoundation\Request), Object(Biblys\Service\TemplateService), Object(Twig\Error\RuntimeError))
#11 /home/charybde/biblys/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(Twig\Error\RuntimeError))
#12 /home/charybde/biblys/vendor/symfony/http-kernel/HttpKernel.php(76): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 2)
#13 /home/charybde/biblys/vendor/symfony/http-kernel/EventListener/ErrorListener.php(117): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 2, false)
#14 /home/charybde/biblys/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/charybde/biblys/vendor/symfony/event-dispatcher/EventDispatcher.php(56): Symfony\Component\EventDispatcher\EventDispatcher->callListeners(Array, 'kernel.exceptio...', Object(Symfony\Component\HttpKernel\Event\ExceptionEvent))
#16 /home/charybde/biblys/vendor/symfony/http-kernel/HttpKernel.php(239): Symfony\Component\EventDispatcher\EventDispatcher->dispatch(Object(Symfony\Component\HttpKernel\Event\ExceptionEvent), 'kernel.exceptio...')
#17 /home/charybde/biblys/vendor/symfony/http-kernel/HttpKernel.php(91): Symfony\Component\HttpKernel\HttpKernel->handleThrowable(Object(Twig\Error\RuntimeError), Object(Symfony\Component\HttpFoundation\Request), 1)
#18 /home/charybde/biblys/public/index.php(56): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request))
#19 {main}
thrown in /home/charybde/biblys/inc/Entity.class.php on line 369