Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000]: General error: 2013 Lost connection to MySQL server during query' in /var/www/html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:847
Stack trace:
#0 /var/www/html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(847): PDOStatement->execute()
#1 /var/www/html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Query/QueryBuilder.php(206): Doctrine\DBAL\Connection->executeQuery('SELECT variant....', Array, Array)
#2 /var/www/html/engine/Shopware/Bundle/StoreFrontBundle/Gateway/DBAL/VariantMediaGateway.php(141): Doctrine\DBAL\Query\QueryBuilder->execute()
#3 /var/www/html/engine/Shopware/Bundle/StoreFrontBundle/Service/Core/VariantCoverService.php(68): Shopware\Bundle\StoreFrontBundle\Gateway\DBAL\VariantMediaGateway->getCovers(Array, Object(Shopware\Bundle\StoreFrontBundle\Struct\ShopContext))
#4 /var/www/html/engine/Shopware/Bundle/StoreFrontBundle/Service/Core/MediaService.php(128): Shopware\Bundle\StoreFrontBundle\Service\Core\VariantCoverServi in /var/www/html/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php on line 131
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000]: General error: 2006 MySQL server has gone away' in /var/www/html/engine/Shopware/Components/Session/PdoSessionHandler.php:343
Stack trace:
#0 /var/www/html/engine/Shopware/Components/Session/PdoSessionHandler.php(343): PDOStatement->execute()
#1 [internal function]: Shopware\Components\Session\PdoSessionHandler->write('76bec3212aceb0f...', 'Shopware|a:11:{...')
#2 [internal function]: session_write_close()
#3 {main}
thrown in /var/www/html/engine/Shopware/Components/Session/PdoSessionHandler.php on line 343