-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
error Notice: Undefined index: argv #35084
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
Labels
Comments
Same problem with a dd($credentials) into LoginFormAuthenticator.php Defining register_argc_argv=on in php.ini solves the problem. But why? |
xepozz
added a commit
to xepozz/symfony
that referenced
this issue
Dec 26, 2019
nicolas-grekas
pushed a commit
to xepozz/symfony
that referenced
this issue
Dec 28, 2019
nicolas-grekas
added a commit
that referenced
this issue
Dec 28, 2019
…extProvider (xepozz) This PR was submitted for the master branch but it was merged into the 4.3 branch instead. Discussion ---------- [VarDumper] Fix "Undefined index: argv" when using CliContextProvider | Q | A | ------------- | --- | Branch? | 4.1, 4.2, 4.3, 4.4 or 5.0<!-- see below --> | Bug fix? | yes | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Tickets | Fix #35084 | License | MIT <!-- Replace this notice by a short README for your feature/bugfix. This will help people understand your PR and can be used as a start for the documentation. Additionally (see https://symfony.com/roadmap): - Always add tests and ensure they pass. - Never break backward compatibility (see https://symfony.com/bc). - Bug fixes must be submitted against the lowest maintained branch where they apply (lowest branches are regularly merged to upper ones so they get the fixes too.) - Features and deprecations must be submitted against branch master. --> Commits ------- 340bb14 Fixed #35084
nicolas-grekas
added a commit
that referenced
this issue
Dec 28, 2019
* 4.3: Fixed #35084 Add missing use statement [HttpClient] fix scheduling pending NativeResponse do not overwrite variable value [Profiler] wording Use spaces correctly to display options in DebugCommand X-Accel Nginx URL updated ticket-30197 [Validator] Add the missing translations for the Chinese (Taiwan) ("zh_TW") locale Fixed test added in #35022 Use locale_parse for computing fallback locales [Console] Fix filtering out identical alternatives when there is a command loader
nicolas-grekas
added a commit
that referenced
this issue
Dec 28, 2019
* 5.0: (24 commits) Removing unused variable Fixed #35084 Add missing use statement [HttpClient] fix scheduling pending NativeResponse do not overwrite variable value [Profiler] wording Use spaces correctly to display options in DebugCommand Add supported schemes doc blocks type X-Accel Nginx URL updated ticket-30197 [Validator] Add the missing translations for the Chinese (Taiwan) ("zh_TW") locale Fixed test added in #35022 Use locale_parse for computing fallback locales [Console] Fix filtering out identical alternatives when there is a command loader [String][UnicodeString] Remove unneeded flag in chunk regex pattern add note about HTTP status code change Migrate server:log command away from WebServerBundle [DependencyInjection][CheckTypeDeclarationsPass] Handle \Closure for callable [Security] Fix missing defaults for auto-migrating encoders bumped Symfony version to 5.0.3 updated VERSION for 5.0.2 ...
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Symfony version(s) affected: 4.4
Description

How to reproduce
config/routes.yaml:
DefaultController.php:
The text was updated successfully, but these errors were encountered: