Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Confusing error message related to env vars #22955

Closed
@javiereguiluz

Description

@javiereguiluz
Q A
Bug report? yes
Feature request? no
BC Break report? no
RFC? no
Symfony version 3.2

While working on the Symfony Demo app (see symfony/demo#572) we stumbled upon the issue reported in #22561. In that PR they question this behavior, but here I'm talking strictly about the error message itself:

Symfony\Component\DependencyInjection\Exception\EnvParameterException:
Incompatible use of dynamic environment variables "DATABASE_URL" found in parameters.

I can't understand the error message .. and it gives me no clue about how to fix this problem. Can we please improve it? Thanks!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions