Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away in /home/qwerydo/matinfo/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:117
Stack trace:
#0 /home/qwerydo/matinfo/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php(117): PDOStatement->execute(NULL)
#1 /home/qwerydo/matinfo/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(1304): Doctrine\DBAL\Driver\PDOStatement->execute()
#2 /home/qwerydo/matinfo/vendor/doctrine/orm/lib/Doctrine/ORM/Query/Exec/SingleSelectExecutor.php(31): Doctrine\DBAL\Connection->executeQuery('SELECT p0_.id_c...', Array, Array, NULL)
#3 /home/qwerydo/matinfo/vendor/doctrine/orm/lib/Doctrine/ORM/Query.php(325): Doctrine\ORM\Query\Exec\SingleSelectExecutor->execute(Object(Doctrine\DBAL\Connection), Array, Array)
#4 /home/qwerydo/matinfo/vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php(1188): Doctrine\ORM\Query->_doExecute()
#5 /home/qwerydo/matinfo/vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php(1142): Doctrine\ORM\AbstractQuery->executeIgnoreQueryCache(NULL, 3)
#6 /home/qwerydo/matinfo/vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php(914): Doctrine\ORM\AbstractQuery->execute(NULL, 3)
#7 /home/qwerydo/matinfo/modules/jca_copieurs/src/Repository/CopieurProductRelationRepository.php(45): Doctrine\ORM\AbstractQuery->getScalarResult()
#8 /home/qwerydo/matinfo/modules/jca_copieurs/jca_copieurs.php(135): Jca\JcaCopieurs\Repository\CopieurProductRelationRepository->findRelationByProductId(122602)
#9 /home/qwerydo/matinfo/classes/Hook.php(1083): Jca_Copieurs->hookActionPresentProductListing(Array)
#10 /home/qwerydo/matinfo/classes/Hook.php(421): HookCore::coreCallHook(Object(Jca_Copieurs), 'hookActionPrese...', Array)
#11 /home/qwerydo/matinfo/classes/Hook.php(989): HookCore::callHookOn(Object(Jca_Copieurs), 'actionPresentPr...', Array)
#12 /home/qwerydo/matinfo/src/Adapter/Presenter/Product/ProductListingPresenter.php(61): HookCore::exec('actionPresentPr...', Array)
#13 /home/qwerydo/matinfo/controllers/front/ProductController.php(411): PrestaShop\PrestaShop\Adapter\Presenter\Product\ProductListingPresenter->present(Object(PrestaShop\PrestaShop\Core\Product\ProductPresentationSettings), Array, Object(Language))
#14 /home/qwerydo/matinfo/classes/controller/Controller.php(319): ProductControllerCore->initContent()
#15 /home/qwerydo/matinfo/classes/Dispatcher.php(510): ControllerCore->run()
#16 /home/qwerydo/matinfo/index.php(28): DispatcherCore->dispatch()
#17 {main}
Next Doctrine\DBAL\Driver\PDO\Exception: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away in /home/qwerydo/matinfo/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php:18
Stack trace:
#0 /home/qwerydo/matinfo/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php(119): Doctrine\DBAL\Driver\PDO\Exception::new(Object(PDOException))
#1 /home/qwerydo/matinfo/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(1304): Doctrine\DBAL\Driver\PDOStatement->execute()
#2 /home/qwerydo/matinfo/vendor/doctrine/orm/lib/Doctrine/ORM/Query/Exec/SingleSelectExecutor.php(31): Doctrine\DBAL\Connection->executeQuery('SELECT p0_.id_c...', Array, Array, NULL)
#3 /home/qwerydo/matinfo/vendor/doctrine/orm/lib/Doctrine/ORM/Query.php(325): Doctrine\ORM\Query\Exec\SingleSelectExecutor->execute(Object(Doctrine\DBAL\Connection), Array, Array)
#4 /home/qwerydo/matinfo/vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php(1188): Doctrine\ORM\Query->_doExecute()
#5 /home/qwerydo/matinfo/vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php(1142): Doctrine\ORM\AbstractQuery->executeIgnoreQueryCache(NULL, 3)
#6 /home/qwerydo/matinfo/vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php(914): Doctrine\ORM\AbstractQuery->execute(NULL, 3)
#7 /home/qwerydo/matinfo/modules/jca_copieurs/src/Repository/CopieurProductRelationRepository.php(45): Doctrine\ORM\AbstractQuery->getScalarResult()
#8 /home/qwerydo/matinfo/modules/jca_copieurs/jca_copieurs.php(135): Jca\JcaCopieurs\Repository\CopieurProductRelationRepository->findRelationByProductId(122602)
#9 /home/qwerydo/matinfo/classes/Hook.php(1083): Jca_Copieurs->hookActionPresentProductListing(Array)
#10 /home/qwerydo/matinfo/classes/Hook.php(421): HookCore::coreCallHook(Object(Jca_Copieurs), 'hookActionPrese...', Array)
#11 /home/qwerydo/matinfo/classes/Hook.php(989): HookCore::callHookOn(Object(Jca_Copieurs), 'actionPresentPr...', Array)
#12 /home/qwerydo/matinfo/src/Adapter/Presenter/Product/ProductListingPresenter.php(61): HookCore::exec('actionPresentPr...', Array)
#13 /home/qwerydo/matinfo/controllers/front/ProductController.php(411): PrestaShop\PrestaShop\Adapter\Presenter\Product\ProductListingPresenter->present(Object(PrestaShop\PrestaShop\Core\Product\ProductPresentationSettings), Array, Object(Language))
#14 /home/qwerydo/matinfo/classes/controller/Controller.php(319): ProductControllerCore->initContent()
#15 /home/qwerydo/matinfo/classes/Dispatcher.php(510): ControllerCore->run()
#16 /home/qwerydo/matinfo/index.php(28): DispatcherCore->dispatch()
#17 {main}
Next Doctrine\DBAL\Exception\ConnectionLost: An exception occurred while executing 'SELECT p0_.id_copieur AS sclr_0 FROM psm_jca_copieur_product_relation p0_ WHERE p0_.id_product = ?' with params [122602]:
SQLSTATE[HY000]: General error: 2006 MySQL server has gone away in /home/qwerydo/matinfo/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:115
Stack trace:
#0 /home/qwerydo/matinfo/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php(182): Doctrine\DBAL\Driver\AbstractMySQLDriver->convertException('An exception oc...', Object(Doctrine\DBAL\Driver\PDO\Exception))
#1 /home/qwerydo/matinfo/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php(159): Doctrine\DBAL\DBALException::wrapException(Object(Doctrine\DBAL\Driver\PDO\MySQL\Driver), Object(Doctrine\DBAL\Driver\PDO\Exception), 'An exception oc...')
#2 /home/qwerydo/matinfo/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(2226): Doctrine\DBAL\DBALException::driverExceptionDuringQuery(Object(Doctrine\DBAL\Driver\PDO\MySQL\Driver), Object(Doctrine\DBAL\Driver\PDO\Exception), 'SELECT p0_.id_c...', Array)
#3 /home/qwerydo/matinfo/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(1313): Doctrine\DBAL\Connection->handleExceptionDuringQuery(Object(Doctrine\DBAL\Driver\PDO\Exception), 'SELECT p0_.id_c...', Array, Array)
#4 /home/qwerydo/matinfo/vendor/doctrine/orm/lib/Doctrine/ORM/Query/Exec/SingleSelectExecutor.php(31): Doctrine\DBAL\Connection->executeQuery('SELECT p0_.id_c...', Array, Array, NULL)
#5 /home/qwerydo/matinfo/vendor/doctrine/orm/lib/Doctrine/ORM/Query.php(325): Doctrine\ORM\Query\Exec\SingleSelectExecutor->execute(Object(Doctrine\DBAL\Connection), Array, Array)
#6 /home/qwerydo/matinfo/vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php(1188): Doctrine\ORM\Query->_doExecute()
#7 /home/qwerydo/matinfo/vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php(1142): Doctrine\ORM\AbstractQuery->executeIgnoreQueryCache(NULL, 3)
#8 /home/qwerydo/matinfo/vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php(914): Doctrine\ORM\AbstractQuery->execute(NULL, 3)
#9 /home/qwerydo/matinfo/modules/jca_copieurs/src/Repository/CopieurProductRelationRepository.php(45): Doctrine\ORM\AbstractQuery->getScalarResult()
#10 /home/qwerydo/matinfo/modules/jca_copieurs/jca_copieurs.php(135): Jca\JcaCopieurs\Repository\CopieurProductRelationRepository->findRelationByProductId(122602)
#11 /home/qwerydo/matinfo/classes/Hook.php(1083): Jca_Copieurs->hookActionPresentProductListing(Array)
#12 /home/qwerydo/matinfo/classes/Hook.php(421): HookCore::coreCallHook(Object(Jca_Copieurs), 'hookActionPrese...', Array)
#13 /home/qwerydo/matinfo/classes/Hook.php(989): HookCore::callHookOn(Object(Jca_Copieurs), 'actionPresentPr...', Array)
#14 /home/qwerydo/matinfo/src/Adapter/Presenter/Product/ProductListingPresenter.php(61): HookCore::exec('actionPresentPr...', Array)
#15 /home/qwerydo/matinfo/controllers/front/ProductController.php(411): PrestaShop\PrestaShop\Adapter\Presenter\Product\ProductListingPresenter->present(Object(PrestaShop\PrestaShop\Core\Product\ProductPresentationSettings), Array, Object(Language))
#16 /home/qwerydo/matinfo/classes/controller/Controller.php(319): ProductControllerCore->initContent()
#17 /home/qwerydo/matinfo/classes/Dispatcher.php(510): ControllerCore->run()
#18 /home/qwerydo/matinfo/index.php(28): DispatcherCore->dispatch()
#19 {main}
Next PrestaShop\PrestaShop\Core\Exception\CoreException: An exception occurred while executing 'SELECT p0_.id_copieur AS sclr_0 FROM psm_jca_copieur_product_relation p0_ WHERE p0_.id_product = ?' with params [122602]:
SQLSTATE[HY000]: General error: 2006 MySQL server has gone away in /home/qwerydo/matinfo/classes/Hook.php:434
Stack trace:
#0 /home/qwerydo/matinfo/classes/Hook.php(989): HookCore::callHookOn(Object(Jca_Copieurs), 'actionPresentPr...', Array)
#1 /home/qwerydo/matinfo/src/Adapter/Presenter/Product/ProductListingPresenter.php(61): HookCore::exec('actionPresentPr...', Array)
#2 /home/qwerydo/matinfo/controllers/front/ProductController.php(411): PrestaShop\PrestaShop\Adapter\Presenter\Product\ProductListingPresenter->present(Object(PrestaShop\PrestaShop\Core\Product\ProductPresentationSettings), Array, Object(Language))
#3 /home/qwerydo/matinfo/classes/controller/Controller.php(319): ProductControllerCore->initContent()
#4 /home/qwerydo/matinfo/classes/Dispatcher.php(510): ControllerCore->run()
#5 /home/qwerydo/matinfo/index.php(28): DispatcherCore->dispatch()
#6 {main}
thrown in /home/qwerydo/matinfo/classes/Hook.php on line 434