Warning: Error while sending QUERY packet. PID=15321 in /home/itnetco/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php on line 641

Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000]: General error: 2006 MySQL server has gone away' in /home/itnetco/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:641 Stack trace: #0 /home/itnetco/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(641): PDOStatement->execute() #1 /home/itnetco/vendor/doctrine/orm/lib/Doctrine/ORM/Persisters/BasicEntityPersister.php(865): Doctrine\DBAL\Connection->executeQuery('SELECT t0.id AS...', Array, Array) #2 /home/itnetco/vendor/doctrine/orm/lib/Doctrine/ORM/EntityRepository.php(157): Doctrine\ORM\Persisters\BasicEntityPersister->loadAll(Array, NULL, NULL, NULL) #3 /home/itnetco/src/Site/Modulo/Publicidade/Controller/Controller.php(66): Doctrine\ORM\EntityRepository->findBy(Array) #4 /home/itnetco/config/core/options.php(90): Site\Modulo\Publicidade\Controller\Controller->getIndexData(false, 'error') #5 [internal function]: {closure}(Object(Doctrine\DBAL\DBALException), 500) #6 /home/itnetco/vendor/silex/silex/src/Silex/ExceptionListenerWrapper.p in /home/itnetco/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php on line 47