-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Undefined variable: exitCode in vendor/symfony/console/Application.php on line 886 #25872
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
Comments
Can you share a reproducer or debug the situation? looking at the code in Application.php, I'm missing how this can happen. |
But on production, in file |
Sorry, that's not enough to reproduce the issue on my side. |
file
file
run |
Could you create a public repo on which can reproduce the issue? That would help to both narrow down the issue and avoid going back and forth |
composer create-project "symfony/skeleton" demo
cd demo
composer req log
# edit .env as above
# edit config/packages/prod/monolog.yaml
rm -rf var/cache/prod; ./bin/console c:cl => The service "monolog.handler.swift.mail_message_factory" has a dependency o No notice. |
|
Works thanks, fixed in #25873 |
…(nicolas-grekas) This PR was merged into the 4.0 branch. Discussion ---------- [Console] Fix using finally where the catch can also fail | Q | A | ------------- | --- | Branch? | 4.0 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #25872 | License | MIT | Doc PR | - Restores code to 3.4 state, which is free from the issue. Commits ------- 763a914 [Console] Fix using finally where the catch can also fail
Uh oh!
There was an error while loading. Please reload this page.
PHP 7.1.13-1+ubuntu16.04.1+deb.sury.org+1 (cli) (built: Jan 5 2018 13:26:45) ( NTS )
env=prod
Reproduction
run:
edit
.env
edit
config/packages/prod/monolog.yaml
run:
The text was updated successfully, but these errors were encountered: