Connexion échouée : SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for psubraty.mysql.dhosting.pl failed: No address associated with hostname
Fatal error: Uncaught TypeError: Entity\EntityRepository::__construct(): Argument #1 ($db) must be of type PDO, null given, called in /home/klient.dhosting.pl/psubraty/wielkirok.pl/app/AppKernel.php on line 29 and defined in /home/klient.dhosting.pl/psubraty/wielkirok.pl/src/Entity/EntityRepository.php:14
Stack trace:
#0 /home/klient.dhosting.pl/psubraty/wielkirok.pl/app/AppKernel.php(29): Entity\EntityRepository->__construct(NULL)
#1 /home/klient.dhosting.pl/psubraty/wielkirok.pl/src/Controller/Controller.php(18): AppKernel->getRepository('User\\Team')
#2 /home/klient.dhosting.pl/psubraty/wielkirok.pl/src/Controller/ObserverController.php(84): Controller\Controller->getRepository('User\\Team')
#3 /home/klient.dhosting.pl/psubraty/wielkirok.pl/app/AppKernel.php(190): Controller\ObserverController->druzynaAction(Array)
#4 /home/klient.dhosting.pl/psubraty/wielkirok.pl/web/app.php(14): AppKernel->handleRequest()
#5 {main}
thrown in /home/klient.dhosting.pl/psubraty/wielkirok.pl/src/Entity/EntityRepository.php on line 14