Warning: Error while sending QUERY packet. PID=51852 in /home/liturgic/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php on line 699

Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000]: General error: 2006 MySQL server has gone away' in /home/liturgic/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:699 Stack trace: #0 /home/liturgic/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(699): PDO->query('SELECT t0.id AS...') #1 /home/liturgic/vendor/doctrine/orm/lib/Doctrine/ORM/Persisters/BasicEntityPersister.php(930): Doctrine\DBAL\Connection->executeQuery('SELECT t0.id AS...', Array, Array) #2 /home/liturgic/vendor/doctrine/orm/lib/Doctrine/ORM/EntityRepository.php(181): Doctrine\ORM\Persisters\BasicEntityPersister->loadAll(Array, Array, NULL, NULL) #3 /home/liturgic/module/Homilies/Module.php(33): Doctrine\ORM\EntityRepository->findBy(Array, Array) #4 [internal function]: Homilies\Module->onPreDispatch(Object(Zend\Mvc\MvcEvent)) #5 /home/liturgic/vendor/zendframework/zendframework/library/Zend/EventManager/EventManager.php(468): call_user_func(Array, Object(Zend\Mvc\MvcEvent)) #6 /home/liturgic/vendor/zendframework/zen in /home/liturgic/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php on line 91