GX-Bug #68617
Von Moritz Bunjes vor mehr als 3 Jahren aktualisiert
Calling for example api.php/v3 causes a fatal error ``` <br /> <b>Fatal error</b>: Uncaught Doctrine\DBAL\DBALException: Malformed parameter "url". in /vendor/doctrine/dbal/lib/Doctrine/DBAL/DriverManager.php:262 /var/www/html/feature/src/vendor/doctrine/dbal/lib/Doctrine/DBAL/DriverManager.php:262 Stack trace: #0 /vendor/doctrine/dbal/lib/Doctrine/DBAL/DriverManager.php(137): /var/www/html/feature/src/vendor/doctrine/dbal/lib/Doctrine/DBAL/DriverManager.php(137): Doctrine\DBAL\DriverManager::parseDatabaseUrl() #1 /GambioCore/Application/ServiceProviders/DoctrineQbServiceProvider.php(56): /var/www/html/feature/src/GambioCore/Application/ServiceProviders/DoctrineQbServiceProvider.php(56): Doctrine\DBAL\DriverManager::getConnection() #2 /GambioCore/Application/DependencyInjection/LeagueServiceProvider.php(48): /var/www/html/feature/src/GambioCore/Application/DependencyInjection/LeagueServiceProvider.php(48): Gambio\Core\Application\ServiceProviders\DoctrineQbServiceProvider->register() #3 /vendor/league/container/src/ServiceProvider/ServiceProviderAggregate.php(101): /var/www/html/feature/src/vendor/league/container/src/ServiceProvider/ServiceProviderAggregate.php(101): Gambio\Core\Application\DependencyInjection\LeagueServiceProvider->register() #4 /vendor/league/container/src/Container.php(170): /var/www/html/feature/src/vendor/league/container/src/Container.php(170): League\Container\ServiceProvider\ServiceProviderAggregate->register() #5 /vendor/league/container /var/www/html/feature/src/vendor/league/container in <b>/vendor/doctrine/dbal/lib/Doctrine/DBAL/DriverManager.php</b> <b>/var/www/html/feature/src/vendor/doctrine/dbal/lib/Doctrine/DBAL/DriverManager.php</b> on line <b>262</b><br /> ``` The error was not detected before, because our test environments have a fallback vor missing database credentials.