Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away in /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:117 Stack trace: #0 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php(117): PDOStatement->execute() #1 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(1304): Doctrine\DBAL\Driver\PDOStatement->execute() #2 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Query/QueryBuilder.php(212): Doctrine\DBAL\Connection->executeQuery() #3 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/modules/productcomments/src/Repository/ProductCommentRepository.php(171): Doctrine\DBAL\Query\QueryBuilder->execute() #4 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/modules/productcomments/productcomments.php(1028): PrestaShop\Module\ProductComment\Repository\ProductCommentRepository->getAverageGrade() #5 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/modules/productcomments/productcomments.php(1057): ProductComments->getWidgetVariables() #6 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/classes/Hook.php(979): ProductComments->renderWidget() #7 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/classes/Hook.php(923): HookCore::coreRenderWidget() #8 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/config/smarty.config.inc.php(167): HookCore::exec() #9 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/classes/Smarty/SmartyLazyRegister.php(81): smartyHook() #10 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/var/cache/dev/smarty/compile/warehouselayouts_layout_full_width_tpl/73/45/a9/7345a910f72883884970c938dc2386bddacf3c7d_2.file.product.tpl.php(332): SmartyLazyRegister->__call() #11 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(248): Block_184418821667b566e5dd64b5_26744236->callBlock() #12 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(184): Smarty_Internal_Runtime_Inheritance->callBlock() #13 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(156): Smarty_Internal_Runtime_Inheritance->process() #14 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/var/cache/dev/smarty/compile/warehouselayouts_layout_full_width_tpl/73/45/a9/7345a910f72883884970c938dc2386bddacf3c7d_2.file.product.tpl.php(373): Smarty_Internal_Runtime_Inheritance->instanceBlock() #15 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(248): Block_18701942767b566e5dcbaf1_68749789->callBlock() #16 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(184): Smarty_Internal_Runtime_Inheritance->callBlock() #17 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(156): Smarty_Internal_Runtime_Inheritance->process() #18 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/var/cache/dev/smarty/compile/warehouselayouts_layout_full_width_tpl/73/45/a9/7345a910f72883884970c938dc2386bddacf3c7d_2.file.product.tpl.php(918): Smarty_Internal_Runtime_Inheritance->instanceBlock() #19 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(248): Block_105486191767b566e5dc7076_21281207->callBlock() #20 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(184): Smarty_Internal_Runtime_Inheritance->callBlock() #21 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(186): Smarty_Internal_Runtime_Inheritance->process() #22 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(156): Smarty_Internal_Runtime_Inheritance->process() #23 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/var/cache/dev/smarty/compile/warehouselayouts_layout_full_width_tpl/37/9d/80/379d80351abae633947c1eaefdcdcf2e9a31c5bd_2.file.layout-full-width.tpl.php(135): Smarty_Internal_Runtime_Inheritance->instanceBlock() #24 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(248): Block_59257480267b566e5e1acc7_86529530->callBlock() #25 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(184): Smarty_Internal_Runtime_Inheritance->callBlock() #26 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(186): Smarty_Internal_Runtime_Inheritance->process() #27 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(156): Smarty_Internal_Runtime_Inheritance->process() #28 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/var/cache/dev/smarty/compile/warehouselayouts_layout_full_width_tpl/88/f6/3b/88f63b3ea3b621d81592203e8dbc5083f4edbc0c_2.file.layout-both-columns.tpl.php(110): Smarty_Internal_Runtime_Inheritance->instanceBlock() #29 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_67b566e5e4f6c2_92983268() #30 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode() #31 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(216): Smarty_Template_Compiled->render() #32 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(385): Smarty_Internal_Template->render() #33 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(116): Smarty_Internal_Template->_subTemplateRender() #34 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/var/cache/dev/smarty/compile/warehouselayouts_layout_full_width_tpl/37/9d/80/379d80351abae633947c1eaefdcdcf2e9a31c5bd_2.file.layout-full-width.tpl.php(50): Smarty_Internal_Runtime_Inheritance->endChild() #35 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_67b566e5e1c4e4_89430076() #36 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode() #37 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(216): Smarty_Template_Compiled->render() #38 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(385): Smarty_Internal_Template->render() #39 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(116): Smarty_Internal_Template->_subTemplateRender() #40 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/var/cache/dev/smarty/compile/warehouselayouts_layout_full_width_tpl/73/45/a9/7345a910f72883884970c938dc2386bddacf3c7d_2.file.product.tpl.php(65): Smarty_Internal_Runtime_Inheritance->endChild() #41 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_67b566e5dfb762_57279518() #42 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode() #43 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(216): Smarty_Template_Compiled->render() #44 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(238): Smarty_Internal_Template->render() #45 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(116): Smarty_Internal_TemplateBase->_execute() #46 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/classes/Smarty/SmartyDev.php(40): Smarty_Internal_TemplateBase->fetch() #47 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/classes/controller/FrontController.php(700): SmartyDev->fetch() #48 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/classes/controller/FrontController.php(682): FrontControllerCore->smartyOutputContent() #49 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/classes/controller/Controller.php(339): FrontControllerCore->display() #50 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/classes/Dispatcher.php(503): ControllerCore->run() #51 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/index.php(28): DispatcherCore->dispatch() #52 {main} Next Doctrine\DBAL\Driver\PDO\Exception: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away in /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php:18 Stack trace: #0 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php(119): Doctrine\DBAL\Driver\PDO\Exception::new() #1 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(1304): Doctrine\DBAL\Driver\PDOStatement->execute() #2 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Query/QueryBuilder.php(212): Doctrine\DBAL\Connection->executeQuery() #3 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/modules/productcomments/src/Repository/ProductCommentRepository.php(171): Doctrine\DBAL\Query\QueryBuilder->execute() #4 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/modules/productcomments/productcomments.php(1028): PrestaShop\Module\ProductComment\Repository\ProductCommentRepository->getAverageGrade() #5 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/modules/productcomments/productcomments.php(1057): ProductComments->getWidgetVariables() #6 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/classes/Hook.php(979): ProductComments->renderWidget() #7 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/classes/Hook.php(923): HookCore::coreRenderWidget() #8 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/config/smarty.config.inc.php(167): HookCore::exec() #9 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/classes/Smarty/SmartyLazyRegister.php(81): smartyHook() #10 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/var/cache/dev/smarty/compile/warehouselayouts_layout_full_width_tpl/73/45/a9/7345a910f72883884970c938dc2386bddacf3c7d_2.file.product.tpl.php(332): SmartyLazyRegister->__call() #11 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(248): Block_184418821667b566e5dd64b5_26744236->callBlock() #12 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(184): Smarty_Internal_Runtime_Inheritance->callBlock() #13 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(156): Smarty_Internal_Runtime_Inheritance->process() #14 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/var/cache/dev/smarty/compile/warehouselayouts_layout_full_width_tpl/73/45/a9/7345a910f72883884970c938dc2386bddacf3c7d_2.file.product.tpl.php(373): Smarty_Internal_Runtime_Inheritance->instanceBlock() #15 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(248): Block_18701942767b566e5dcbaf1_68749789->callBlock() #16 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(184): Smarty_Internal_Runtime_Inheritance->callBlock() #17 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(156): Smarty_Internal_Runtime_Inheritance->process() #18 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/var/cache/dev/smarty/compile/warehouselayouts_layout_full_width_tpl/73/45/a9/7345a910f72883884970c938dc2386bddacf3c7d_2.file.product.tpl.php(918): Smarty_Internal_Runtime_Inheritance->instanceBlock() #19 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(248): Block_105486191767b566e5dc7076_21281207->callBlock() #20 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(184): Smarty_Internal_Runtime_Inheritance->callBlock() #21 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(186): Smarty_Internal_Runtime_Inheritance->process() #22 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(156): Smarty_Internal_Runtime_Inheritance->process() #23 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/var/cache/dev/smarty/compile/warehouselayouts_layout_full_width_tpl/37/9d/80/379d80351abae633947c1eaefdcdcf2e9a31c5bd_2.file.layout-full-width.tpl.php(135): Smarty_Internal_Runtime_Inheritance->instanceBlock() #24 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(248): Block_59257480267b566e5e1acc7_86529530->callBlock() #25 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(184): Smarty_Internal_Runtime_Inheritance->callBlock() #26 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(186): Smarty_Internal_Runtime_Inheritance->process() #27 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(156): Smarty_Internal_Runtime_Inheritance->process() #28 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/var/cache/dev/smarty/compile/warehouselayouts_layout_full_width_tpl/88/f6/3b/88f63b3ea3b621d81592203e8dbc5083f4edbc0c_2.file.layout-both-columns.tpl.php(110): Smarty_Internal_Runtime_Inheritance->instanceBlock() #29 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_67b566e5e4f6c2_92983268() #30 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode() #31 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(216): Smarty_Template_Compiled->render() #32 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(385): Smarty_Internal_Template->render() #33 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(116): Smarty_Internal_Template->_subTemplateRender() #34 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/var/cache/dev/smarty/compile/warehouselayouts_layout_full_width_tpl/37/9d/80/379d80351abae633947c1eaefdcdcf2e9a31c5bd_2.file.layout-full-width.tpl.php(50): Smarty_Internal_Runtime_Inheritance->endChild() #35 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_67b566e5e1c4e4_89430076() #36 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode() #37 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(216): Smarty_Template_Compiled->render() #38 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(385): Smarty_Internal_Template->render() #39 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(116): Smarty_Internal_Template->_subTemplateRender() #40 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/var/cache/dev/smarty/compile/warehouselayouts_layout_full_width_tpl/73/45/a9/7345a910f72883884970c938dc2386bddacf3c7d_2.file.product.tpl.php(65): Smarty_Internal_Runtime_Inheritance->endChild() #41 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_67b566e5dfb762_57279518() #42 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode() #43 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(216): Smarty_Template_Compiled->render() #44 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(238): Smarty_Internal_Template->render() #45 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(116): Smarty_Internal_TemplateBase->_execute() #46 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/classes/Smarty/SmartyDev.php(40): Smarty_Internal_TemplateBase->fetch() #47 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/classes/controller/FrontController.php(700): SmartyDev->fetch() #48 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/classes/controller/FrontController.php(682): FrontControllerCore->smartyOutputContent() #49 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/classes/controller/Controller.php(339): FrontControllerCore->display() #50 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/classes/Dispatcher.php(503): ControllerCore->run() #51 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/index.php(28): DispatcherCore->dispatch() #52 {main} Next Doctrine\DBAL\Exception\ConnectionLost: An exception occurred while executing 'SELECT SUM(pc.grade) / COUNT(pc.grade) AS averageGrade FROM ps_product_comment pc WHERE (pc.id_product = ?) AND (pc.deleted = ?) AND (pc.validate = ?)' with params [107, 0, 1]: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away in /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:115 Stack trace: #0 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php(182): Doctrine\DBAL\Driver\AbstractMySQLDriver->convertException() #1 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php(159): Doctrine\DBAL\DBALException::wrapException() #2 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(2226): Doctrine\DBAL\DBALException::driverExceptionDuringQuery() #3 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(1313): Doctrine\DBAL\Connection->handleExceptionDuringQuery() #4 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Query/QueryBuilder.php(212): Doctrine\DBAL\Connection->executeQuery() #5 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/modules/productcomments/src/Repository/ProductCommentRepository.php(171): Doctrine\DBAL\Query\QueryBuilder->execute() #6 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/modules/productcomments/productcomments.php(1028): PrestaShop\Module\ProductComment\Repository\ProductCommentRepository->getAverageGrade() #7 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/modules/productcomments/productcomments.php(1057): ProductComments->getWidgetVariables() #8 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/classes/Hook.php(979): ProductComments->renderWidget() #9 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/classes/Hook.php(923): HookCore::coreRenderWidget() #10 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/config/smarty.config.inc.php(167): HookCore::exec() #11 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/classes/Smarty/SmartyLazyRegister.php(81): smartyHook() #12 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/var/cache/dev/smarty/compile/warehouselayouts_layout_full_width_tpl/73/45/a9/7345a910f72883884970c938dc2386bddacf3c7d_2.file.product.tpl.php(332): SmartyLazyRegister->__call() #13 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(248): Block_184418821667b566e5dd64b5_26744236->callBlock() #14 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(184): Smarty_Internal_Runtime_Inheritance->callBlock() #15 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(156): Smarty_Internal_Runtime_Inheritance->process() #16 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/var/cache/dev/smarty/compile/warehouselayouts_layout_full_width_tpl/73/45/a9/7345a910f72883884970c938dc2386bddacf3c7d_2.file.product.tpl.php(373): Smarty_Internal_Runtime_Inheritance->instanceBlock() #17 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(248): Block_18701942767b566e5dcbaf1_68749789->callBlock() #18 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(184): Smarty_Internal_Runtime_Inheritance->callBlock() #19 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(156): Smarty_Internal_Runtime_Inheritance->process() #20 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/var/cache/dev/smarty/compile/warehouselayouts_layout_full_width_tpl/73/45/a9/7345a910f72883884970c938dc2386bddacf3c7d_2.file.product.tpl.php(918): Smarty_Internal_Runtime_Inheritance->instanceBlock() #21 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(248): Block_105486191767b566e5dc7076_21281207->callBlock() #22 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(184): Smarty_Internal_Runtime_Inheritance->callBlock() #23 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(186): Smarty_Internal_Runtime_Inheritance->process() #24 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(156): Smarty_Internal_Runtime_Inheritance->process() #25 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/var/cache/dev/smarty/compile/warehouselayouts_layout_full_width_tpl/37/9d/80/379d80351abae633947c1eaefdcdcf2e9a31c5bd_2.file.layout-full-width.tpl.php(135): Smarty_Internal_Runtime_Inheritance->instanceBlock() #26 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(248): Block_59257480267b566e5e1acc7_86529530->callBlock() #27 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(184): Smarty_Internal_Runtime_Inheritance->callBlock() #28 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(186): Smarty_Internal_Runtime_Inheritance->process() #29 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(156): Smarty_Internal_Runtime_Inheritance->process() #30 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/var/cache/dev/smarty/compile/warehouselayouts_layout_full_width_tpl/88/f6/3b/88f63b3ea3b621d81592203e8dbc5083f4edbc0c_2.file.layout-both-columns.tpl.php(110): Smarty_Internal_Runtime_Inheritance->instanceBlock() #31 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_67b566e5e4f6c2_92983268() #32 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode() #33 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(216): Smarty_Template_Compiled->render() #34 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(385): Smarty_Internal_Template->render() #35 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(116): Smarty_Internal_Template->_subTemplateRender() #36 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/var/cache/dev/smarty/compile/warehouselayouts_layout_full_width_tpl/37/9d/80/379d80351abae633947c1eaefdcdcf2e9a31c5bd_2.file.layout-full-width.tpl.php(50): Smarty_Internal_Runtime_Inheritance->endChild() #37 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_67b566e5e1c4e4_89430076() #38 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode() #39 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(216): Smarty_Template_Compiled->render() #40 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(385): Smarty_Internal_Template->render() #41 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(116): Smarty_Internal_Template->_subTemplateRender() #42 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/var/cache/dev/smarty/compile/warehouselayouts_layout_full_width_tpl/73/45/a9/7345a910f72883884970c938dc2386bddacf3c7d_2.file.product.tpl.php(65): Smarty_Internal_Runtime_Inheritance->endChild() #43 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_67b566e5dfb762_57279518() #44 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode() #45 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(216): Smarty_Template_Compiled->render() #46 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(238): Smarty_Internal_Template->render() #47 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(116): Smarty_Internal_TemplateBase->_execute() #48 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/classes/Smarty/SmartyDev.php(40): Smarty_Internal_TemplateBase->fetch() #49 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/classes/controller/FrontController.php(700): SmartyDev->fetch() #50 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/classes/controller/FrontController.php(682): FrontControllerCore->smartyOutputContent() #51 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/classes/controller/Controller.php(339): FrontControllerCore->display() #52 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/classes/Dispatcher.php(503): ControllerCore->run() #53 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/index.php(28): DispatcherCore->dispatch() #54 {main} Next PrestaShop\PrestaShop\Core\Exception\CoreException: An exception occurred while executing 'SELECT SUM(pc.grade) / COUNT(pc.grade) AS averageGrade FROM ps_product_comment pc WHERE (pc.id_product = ?) AND (pc.deleted = ?) AND (pc.validate = ?)' with params [107, 0, 1]: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away in /home/gulfoffice/web/gulfofficefurniture.ae/public_html/classes/Hook.php:983 Stack trace: #0 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/classes/Hook.php(923): HookCore::coreRenderWidget() #1 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/config/smarty.config.inc.php(167): HookCore::exec() #2 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/classes/Smarty/SmartyLazyRegister.php(81): smartyHook() #3 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/var/cache/dev/smarty/compile/warehouselayouts_layout_full_width_tpl/73/45/a9/7345a910f72883884970c938dc2386bddacf3c7d_2.file.product.tpl.php(332): SmartyLazyRegister->__call() #4 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(248): Block_184418821667b566e5dd64b5_26744236->callBlock() #5 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(184): Smarty_Internal_Runtime_Inheritance->callBlock() #6 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(156): Smarty_Internal_Runtime_Inheritance->process() #7 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/var/cache/dev/smarty/compile/warehouselayouts_layout_full_width_tpl/73/45/a9/7345a910f72883884970c938dc2386bddacf3c7d_2.file.product.tpl.php(373): Smarty_Internal_Runtime_Inheritance->instanceBlock() #8 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(248): Block_18701942767b566e5dcbaf1_68749789->callBlock() #9 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(184): Smarty_Internal_Runtime_Inheritance->callBlock() #10 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(156): Smarty_Internal_Runtime_Inheritance->process() #11 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/var/cache/dev/smarty/compile/warehouselayouts_layout_full_width_tpl/73/45/a9/7345a910f72883884970c938dc2386bddacf3c7d_2.file.product.tpl.php(918): Smarty_Internal_Runtime_Inheritance->instanceBlock() #12 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(248): Block_105486191767b566e5dc7076_21281207->callBlock() #13 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(184): Smarty_Internal_Runtime_Inheritance->callBlock() #14 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(186): Smarty_Internal_Runtime_Inheritance->process() #15 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(156): Smarty_Internal_Runtime_Inheritance->process() #16 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/var/cache/dev/smarty/compile/warehouselayouts_layout_full_width_tpl/37/9d/80/379d80351abae633947c1eaefdcdcf2e9a31c5bd_2.file.layout-full-width.tpl.php(135): Smarty_Internal_Runtime_Inheritance->instanceBlock() #17 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(248): Block_59257480267b566e5e1acc7_86529530->callBlock() #18 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(184): Smarty_Internal_Runtime_Inheritance->callBlock() #19 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(186): Smarty_Internal_Runtime_Inheritance->process() #20 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(156): Smarty_Internal_Runtime_Inheritance->process() #21 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/var/cache/dev/smarty/compile/warehouselayouts_layout_full_width_tpl/88/f6/3b/88f63b3ea3b621d81592203e8dbc5083f4edbc0c_2.file.layout-both-columns.tpl.php(110): Smarty_Internal_Runtime_Inheritance->instanceBlock() #22 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_67b566e5e4f6c2_92983268() #23 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode() #24 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(216): Smarty_Template_Compiled->render() #25 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(385): Smarty_Internal_Template->render() #26 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(116): Smarty_Internal_Template->_subTemplateRender() #27 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/var/cache/dev/smarty/compile/warehouselayouts_layout_full_width_tpl/37/9d/80/379d80351abae633947c1eaefdcdcf2e9a31c5bd_2.file.layout-full-width.tpl.php(50): Smarty_Internal_Runtime_Inheritance->endChild() #28 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_67b566e5e1c4e4_89430076() #29 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode() #30 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(216): Smarty_Template_Compiled->render() #31 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(385): Smarty_Internal_Template->render() #32 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(116): Smarty_Internal_Template->_subTemplateRender() #33 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/var/cache/dev/smarty/compile/warehouselayouts_layout_full_width_tpl/73/45/a9/7345a910f72883884970c938dc2386bddacf3c7d_2.file.product.tpl.php(65): Smarty_Internal_Runtime_Inheritance->endChild() #34 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_67b566e5dfb762_57279518() #35 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode() #36 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(216): Smarty_Template_Compiled->render() #37 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(238): Smarty_Internal_Template->render() #38 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(116): Smarty_Internal_TemplateBase->_execute() #39 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/classes/Smarty/SmartyDev.php(40): Smarty_Internal_TemplateBase->fetch() #40 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/classes/controller/FrontController.php(700): SmartyDev->fetch() #41 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/classes/controller/FrontController.php(682): FrontControllerCore->smartyOutputContent() #42 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/classes/controller/Controller.php(339): FrontControllerCore->display() #43 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/classes/Dispatcher.php(503): ControllerCore->run() #44 /home/gulfoffice/web/gulfofficefurniture.ae/public_html/index.php(28): DispatcherCore->dispatch() #45 {main} thrown in /home/gulfoffice/web/gulfofficefurniture.ae/public_html/classes/Hook.php on line 983