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