Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away in /public/website/mcmusic.ro/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:105
Stack trace:
#0 /public/website/mcmusic.ro/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php(105): PDOStatement->execute(NULL)
#1 /public/website/mcmusic.ro/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(847): Doctrine\DBAL\Driver\PDOStatement->execute()
#2 /public/website/mcmusic.ro/vendor/doctrine/dbal/lib/Doctrine/DBAL/Query/QueryBuilder.php(206): Doctrine\DBAL\Connection->executeQuery('SELECT SUM(pc.g...', Array, Array)
#3 /public/website/mcmusic.ro/modules/productcomments/src/Repository/ProductCommentRepository.php(166): Doctrine\DBAL\Query\QueryBuilder->execute()
#4 /public/website/mcmusic.ro/modules/productcomments/productcomments.php(1145): PrestaShop\Module\ProductComment\Repository\ProductCommentRepository->getAverageGrade('3126', '1')
#5 /public/website/mcmusic.ro/modules/productcomments/productcom in /public/website/mcmusic.ro/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php on line 115