Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away in /var/www/html/classes/db/DbPDO.php:151 Stack trace: #0 /var/www/html/classes/db/DbPDO.php(151): PDO->query() #1 /var/www/html/classes/db/Db.php(377): DbPDOCore->_query() #2 /var/www/html/classes/db/Db.php(614): DbCore->query() #3 /var/www/html/classes/ProductAssembler.php(64): DbCore->executeS() #4 /var/www/html/classes/ProductAssembler.php(182): ProductAssemblerCore->addMissingProductFields() #5 /var/www/html/modules/cp_sidebarnewproducts/cp_sidebarnewproducts.php(261): ProductAssemblerCore->assembleProduct() #6 /var/www/html/modules/cp_sidebarnewproducts/cp_sidebarnewproducts.php(214): Cp_SidebarNewProducts->getNewProducts() #7 /var/www/html/modules/cp_sidebarnewproducts/cp_sidebarnewproducts.php(200): Cp_SidebarNewProducts->getWidgetVariables() #8 /var/www/html/classes/Hook.php(1094): Cp_SidebarNewProducts->renderWidget() #9 /var/www/html/classes/Hook.php(1025): HookCore::coreRenderWidget() #10 /var/www/html/config/smarty.config.inc.php(201): HookCore::exec() #11 /var/www/html/classes/Smarty/SmartyLazyRegister.php(81): smartyHook() #12 /var/www/html/var/cache/dev/smarty/compile/PRS02045layouts_layout_both_columns_tpl/27/71/33/277133ea96b821ab8c157a229bd636e7e6ff64a3_2.file.layout-both-columns.tpl.php(285): SmartyLazyRegister->__call() #13 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(248): Block_1721938193687e130c4093b8_03789645->callBlock() #14 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(184): Smarty_Internal_Runtime_Inheritance->callBlock() #15 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(156): Smarty_Internal_Runtime_Inheritance->process() #16 /var/www/html/var/cache/dev/smarty/compile/PRS02045layouts_layout_both_columns_tpl/27/71/33/277133ea96b821ab8c157a229bd636e7e6ff64a3_2.file.layout-both-columns.tpl.php(95): Smarty_Internal_Runtime_Inheritance->instanceBlock() #17 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_687e130c410156_83739584() #18 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode() #19 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render() #20 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(386): Smarty_Internal_Template->render() #21 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(115): Smarty_Internal_Template->_subTemplateRender() #22 /var/www/html/var/cache/dev/smarty/compile/PRS02045layouts_layout_both_columns_tpl/20/04/b9/2004b99650437f6c06a9136551858383a0958f49_2.file.product-list.tpl.php(44): Smarty_Internal_Runtime_Inheritance->endChild() #23 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_687e130fd1cc37_67850568() #24 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode() #25 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render() #26 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(386): Smarty_Internal_Template->render() #27 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(115): Smarty_Internal_Template->_subTemplateRender() #28 /var/www/html/var/cache/dev/smarty/compile/PRS02045layouts_layout_both_columns_tpl/39/06/06/39060653750c6177c8cf416f743985a692193fbf_2.file.manufacturer.tpl.php(33): Smarty_Internal_Runtime_Inheritance->endChild() #29 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_687e1315a7e8a3_22018263() #30 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode() #31 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render() #32 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(238): Smarty_Internal_Template->render() #33 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(116): Smarty_Internal_TemplateBase->_execute() #34 /var/www/html/classes/Smarty/SmartyDev.php(40): Smarty_Internal_TemplateBase->fetch() #35 /var/www/html/classes/controller/FrontController.php(771): SmartyDev->fetch() #36 /var/www/html/classes/controller/FrontController.php(753): FrontControllerCore->smartyOutputContent() #37 /var/www/html/classes/controller/Controller.php(339): FrontControllerCore->display() #38 /var/www/html/classes/Dispatcher.php(510): ControllerCore->run() #39 /var/www/html/index.php(28): DispatcherCore->dispatch() #40 {main} Next PrestaShopException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away in /var/www/html/classes/db/DbPDO.php:153 Stack trace: #0 /var/www/html/classes/db/Db.php(377): DbPDOCore->_query() #1 /var/www/html/classes/db/Db.php(614): DbCore->query() #2 /var/www/html/classes/ProductAssembler.php(64): DbCore->executeS() #3 /var/www/html/classes/ProductAssembler.php(182): ProductAssemblerCore->addMissingProductFields() #4 /var/www/html/modules/cp_sidebarnewproducts/cp_sidebarnewproducts.php(261): ProductAssemblerCore->assembleProduct() #5 /var/www/html/modules/cp_sidebarnewproducts/cp_sidebarnewproducts.php(214): Cp_SidebarNewProducts->getNewProducts() #6 /var/www/html/modules/cp_sidebarnewproducts/cp_sidebarnewproducts.php(200): Cp_SidebarNewProducts->getWidgetVariables() #7 /var/www/html/classes/Hook.php(1094): Cp_SidebarNewProducts->renderWidget() #8 /var/www/html/classes/Hook.php(1025): HookCore::coreRenderWidget() #9 /var/www/html/config/smarty.config.inc.php(201): HookCore::exec() #10 /var/www/html/classes/Smarty/SmartyLazyRegister.php(81): smartyHook() #11 /var/www/html/var/cache/dev/smarty/compile/PRS02045layouts_layout_both_columns_tpl/27/71/33/277133ea96b821ab8c157a229bd636e7e6ff64a3_2.file.layout-both-columns.tpl.php(285): SmartyLazyRegister->__call() #12 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(248): Block_1721938193687e130c4093b8_03789645->callBlock() #13 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(184): Smarty_Internal_Runtime_Inheritance->callBlock() #14 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(156): Smarty_Internal_Runtime_Inheritance->process() #15 /var/www/html/var/cache/dev/smarty/compile/PRS02045layouts_layout_both_columns_tpl/27/71/33/277133ea96b821ab8c157a229bd636e7e6ff64a3_2.file.layout-both-columns.tpl.php(95): Smarty_Internal_Runtime_Inheritance->instanceBlock() #16 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_687e130c410156_83739584() #17 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode() #18 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render() #19 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(386): Smarty_Internal_Template->render() #20 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(115): Smarty_Internal_Template->_subTemplateRender() #21 /var/www/html/var/cache/dev/smarty/compile/PRS02045layouts_layout_both_columns_tpl/20/04/b9/2004b99650437f6c06a9136551858383a0958f49_2.file.product-list.tpl.php(44): Smarty_Internal_Runtime_Inheritance->endChild() #22 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_687e130fd1cc37_67850568() #23 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode() #24 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render() #25 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(386): Smarty_Internal_Template->render() #26 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(115): Smarty_Internal_Template->_subTemplateRender() #27 /var/www/html/var/cache/dev/smarty/compile/PRS02045layouts_layout_both_columns_tpl/39/06/06/39060653750c6177c8cf416f743985a692193fbf_2.file.manufacturer.tpl.php(33): Smarty_Internal_Runtime_Inheritance->endChild() #28 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_687e1315a7e8a3_22018263() #29 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode() #30 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render() #31 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(238): Smarty_Internal_Template->render() #32 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(116): Smarty_Internal_TemplateBase->_execute() #33 /var/www/html/classes/Smarty/SmartyDev.php(40): Smarty_Internal_TemplateBase->fetch() #34 /var/www/html/classes/controller/FrontController.php(771): SmartyDev->fetch() #35 /var/www/html/classes/controller/FrontController.php(753): FrontControllerCore->smartyOutputContent() #36 /var/www/html/classes/controller/Controller.php(339): FrontControllerCore->display() #37 /var/www/html/classes/Dispatcher.php(510): ControllerCore->run() #38 /var/www/html/index.php(28): DispatcherCore->dispatch() #39 {main} Next PrestaShop\PrestaShop\Core\Exception\CoreException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away in /var/www/html/classes/Hook.php:1098 Stack trace: #0 /var/www/html/classes/Hook.php(1025): HookCore::coreRenderWidget() #1 /var/www/html/config/smarty.config.inc.php(201): HookCore::exec() #2 /var/www/html/classes/Smarty/SmartyLazyRegister.php(81): smartyHook() #3 /var/www/html/var/cache/dev/smarty/compile/PRS02045layouts_layout_both_columns_tpl/27/71/33/277133ea96b821ab8c157a229bd636e7e6ff64a3_2.file.layout-both-columns.tpl.php(285): SmartyLazyRegister->__call() #4 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(248): Block_1721938193687e130c4093b8_03789645->callBlock() #5 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(184): Smarty_Internal_Runtime_Inheritance->callBlock() #6 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(156): Smarty_Internal_Runtime_Inheritance->process() #7 /var/www/html/var/cache/dev/smarty/compile/PRS02045layouts_layout_both_columns_tpl/27/71/33/277133ea96b821ab8c157a229bd636e7e6ff64a3_2.file.layout-both-columns.tpl.php(95): Smarty_Internal_Runtime_Inheritance->instanceBlock() #8 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_687e130c410156_83739584() #9 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode() #10 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render() #11 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(386): Smarty_Internal_Template->render() #12 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(115): Smarty_Internal_Template->_subTemplateRender() #13 /var/www/html/var/cache/dev/smarty/compile/PRS02045layouts_layout_both_columns_tpl/20/04/b9/2004b99650437f6c06a9136551858383a0958f49_2.file.product-list.tpl.php(44): Smarty_Internal_Runtime_Inheritance->endChild() #14 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_687e130fd1cc37_67850568() #15 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode() #16 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render() #17 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(386): Smarty_Internal_Template->render() #18 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(115): Smarty_Internal_Template->_subTemplateRender() #19 /var/www/html/var/cache/dev/smarty/compile/PRS02045layouts_layout_both_columns_tpl/39/06/06/39060653750c6177c8cf416f743985a692193fbf_2.file.manufacturer.tpl.php(33): Smarty_Internal_Runtime_Inheritance->endChild() #20 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_687e1315a7e8a3_22018263() #21 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode() #22 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render() #23 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(238): Smarty_Internal_Template->render() #24 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(116): Smarty_Internal_TemplateBase->_execute() #25 /var/www/html/classes/Smarty/SmartyDev.php(40): Smarty_Internal_TemplateBase->fetch() #26 /var/www/html/classes/controller/FrontController.php(771): SmartyDev->fetch() #27 /var/www/html/classes/controller/FrontController.php(753): FrontControllerCore->smartyOutputContent() #28 /var/www/html/classes/controller/Controller.php(339): FrontControllerCore->display() #29 /var/www/html/classes/Dispatcher.php(510): ControllerCore->run() #30 /var/www/html/index.php(28): DispatcherCore->dispatch() #31 {main} thrown in /var/www/html/classes/Hook.php on line 1098