Open benr77 opened 2 years ago
On latest Bolt install, I'm now getting the following error, but only when I log in to the backend.
The parameter "env(DATABASE_DRIVER)" must be defined.
It is coming from this line in this package:
https://github.com/bobdenotter/configuration-notices/blob/2cddef518459f37a6504ac93a905879eff0afec0/src/Checks.php#L453
Surely the check should be looking for a parameter called DATABASE_DRIVER instead of a parameter called env(DATABASE_DRIVER) ??
DATABASE_DRIVER
env(DATABASE_DRIVER)
I can fix this by setting a parameter in services.yaml
services.yaml
parameters: 'env(DATABASE_DRIVER)': pdo_mysql
Thanks
On latest Bolt install, I'm now getting the following error, but only when I log in to the backend.
The parameter "env(DATABASE_DRIVER)" must be defined.
It is coming from this line in this package:
https://github.com/bobdenotter/configuration-notices/blob/2cddef518459f37a6504ac93a905879eff0afec0/src/Checks.php#L453
Surely the check should be looking for a parameter called
DATABASE_DRIVER
instead of a parameter calledenv(DATABASE_DRIVER)
??I can fix this by setting a parameter in
services.yaml
Thanks