Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bin/console debug:container --env-vars not working #3437

Open
wannevancamp opened this issue Nov 23, 2023 · 1 comment
Open

bin/console debug:container --env-vars not working #3437

wannevancamp opened this issue Nov 23, 2023 · 1 comment
Labels

Comments

@wannevancamp
Copy link
Contributor

PHP Version

8.2

Shopware Version

6.5.7.1

Expected behaviour

Show all environment variables, with their values, referenced in Symfony's container configuration.
See: https://symfony.com/doc/current/configuration.html#listing-environment-variables

Actual behaviour

The following error is shown:

[Symfony\Component\DependencyInjection\Exception\RuntimeException]
  The default value of an env() parameter must be a string or null, but "int" given to "env(SHOPWARE_DBAL_TIMEZONE_SUPPORT_ENABLED)".

There are other env variables with the same issue:

  • env(SHOPWARE_ES_INDEXING_BATCH_SIZE)
  • env(APP_URL_CHECK_DISABLED)
  • ...

How to reproduce

Run the following command: php bin/console debug:container --env-vars

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant