Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away in /www/sweetsshop.pl/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:117
Stack trace:
#0 /www/sweetsshop.pl/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php(117): PDOStatement->execute(NULL)
#1 /www/sweetsshop.pl/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(1304): Doctrine\DBAL\Driver\PDOStatement->execute()
#2 /www/sweetsshop.pl/vendor/doctrine/dbal/lib/Doctrine/DBAL/Query/QueryBuilder.php(212): Doctrine\DBAL\Connection->executeQuery('SELECT AVG(pc.g...', Array, Array)
#3 /www/sweetsshop.pl/modules/productcomments/src/Repository/ProductCommentRepository.php(219): Doctrine\DBAL\Query\QueryBuilder->execute()
#4 /www/sweetsshop.pl/modules/productcomments/productcomments.php(1044): PrestaShop\Module\ProductComment\Repository\ProductCommentRepository->getAverageGrade('87', '1')
#5 /www/sweetsshop.pl/modules/productcomments/productcomments.php(1063): ProductComments->getWidgetVariables('dis in /www/sweetsshop.pl/classes/Hook.php on line 1092