Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away in /var/www/html/shopware5/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:907 Stack trace: #0 /var/www/html/shopware5/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(907): PDOStatement->execute() #1 /var/www/html/shopware5/vendor/doctrine/dbal/lib/Doctrine/DBAL/Query/QueryBuilder.php(206): Doctrine\DBAL\Connection->executeQuery('SELECT category...', Array, Array) #2 /var/www/html/shopware5/engine/Shopware/Bundle/StoreFrontBundle/Gateway/DBAL/CategoryGateway.php(126): Doctrine\DBAL\Query\QueryBuilder->execute() #3 /var/www/html/shopware5/engine/Shopware/Bundle/StoreFrontBundle/Service/Core/CategoryService.php(58): Shopware\Bundle\StoreFrontBundle\Gateway\DBAL\CategoryGateway->getList(Array, Object(Shopware\Bundle\StoreFrontBundle\Struct\ShopContext)) #4 /var/www/html/shopware5/engine/Shopware/Bundle/StoreFrontBundle/Service/Core/CategoryService.php(48): Shopware\Bundle\StoreFrontBundle\Service\Core\CategoryServi in /var/www/html/shopware5/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php on line 179

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away in /var/www/html/shopware5/engine/Shopware/Components/Session/PdoSessionHandler.php:341 Stack trace: #0 /var/www/html/shopware5/engine/Shopware/Components/Session/PdoSessionHandler.php(341): PDOStatement->execute() #1 [internal function]: Shopware\Components\Session\PdoSessionHandler->write('a5f75c0cb040fa0...', 'Shopware|a:8:{s...') #2 [internal function]: session_write_close() #3 {main} thrown in /var/www/html/shopware5/engine/Shopware/Components/Session/PdoSessionHandler.php on line 341