-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
server fails to run on this tutorial #10152
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
Closed
Closed
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I received error when following this tutorial: [Symfony\Component\DependencyInjection\Exception\OutOfBoundsException] Service "security.authentication.provider.wsse.wsse_secured": The argument "0" doesn't exist. php bin/console server:run -v stack trace: Exception trace: Symfony\Component\DependencyInjection\Definition->replaceArgument() at C:\xampp\htdocs\stopky\vendor\symfony\dependency-injection\Compiler\ResolveChildDefinitionsPass.php:150 Symfony\Component\DependencyInjection\Compiler\ResolveChildDefinitionsPass->doResolveDefinition() at C:\xampp\htdocs\stopky\vendor\symfony\dependency-injection\Compiler\ResolveChildDefinitionsPass.php:58 Symfony\Component\DependencyInjection\Compiler\ResolveChildDefinitionsPass->resolveDefinition() at C:\xampp\htdocs\stopky\vendor\symfony\dependency-injection\Compiler\ResolveChildDefinitionsPass.php:39 Symfony\Component\DependencyInjection\Compiler\ResolveChildDefinitionsPass->processValue() at C:\xampp\htdocs\stopky\vendor\symfony\dependency-injection\Compiler\AbstractRecursivePass.php:60 Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass->processValue() at C:\xampp\htdocs\stopky\vendor\symfony\dependency-injection\Compiler\ResolveChildDefinitionsPass.php:31 Symfony\Component\DependencyInjection\Compiler\ResolveChildDefinitionsPass->processValue() at C:\xampp\htdocs\stopky\vendor\symfony\dependency-injection\Compiler\AbstractRecursivePass.php:39 Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass->process() at C:\xampp\htdocs\stopky\vendor\symfony\dependency-injection\Compiler\Compiler.php:95 Symfony\Component\DependencyInjection\Compiler\Compiler->compile() at C:\xampp\htdocs\stopky\vendor\symfony\dependency-injection\ContainerBuilder.php:736 Symfony\Component\DependencyInjection\ContainerBuilder->compile() at C:\xampp\htdocs\stopky\vendor\symfony\http-kernel\Kernel.php:519 Symfony\Component\HttpKernel\Kernel->initializeContainer() at C:\xampp\htdocs\stopky\vendor\symfony\http-kernel\Kernel.php:123 Symfony\Component\HttpKernel\Kernel->boot() at C:\xampp\htdocs\stopky\vendor\symfony\framework-bundle\Console\Application.php:65 Symfony\Bundle\FrameworkBundle\Console\Application->doRun() at C:\xampp\htdocs\stopky\vendor\symfony\console\Application.php:145 Symfony\Component\Console\Application->run() at C:\xampp\htdocs\stopky\bin\console:39 Playing a bit and using search-fu I've made my way to this: https://stackoverflow.com/a/46408007/7973475 I did not make the proposed change to services.yml (or services.yaml in my case) and server started, everything looks ok.
xabbuh
approved these changes
Aug 6, 2018
Further down, there is another spot where we use |
@xabbuh should we update the two other occurrences of |
We should update both. |
@JohnyProkie thanks for fixing this error ... and congrats on your first Symfony Docs contribution! |
javiereguiluz
added a commit
that referenced
this pull request
Aug 9, 2018
This PR was submitted for the 4.1 branch but it was merged into the 3.4 branch instead (closes #10152). Discussion ---------- server fails to run on this tutorial I received error when following this tutorial: ``` [Symfony\Component\DependencyInjection\Exception\OutOfBoundsException] Service "security.authentication.provider.wsse.wsse_secured": The argument "0" doesn't exist. php bin/console server:run -v stack trace: Exception trace: Symfony\Component\DependencyInjection\Definition->replaceArgument() at C:\xampp\htdocs\stopky\vendor\symfony\dependency-injection\Compiler\ResolveChildDefinitionsPass.php:150 Symfony\Component\DependencyInjection\Compiler\ResolveChildDefinitionsPass->doResolveDefinition() at C:\xampp\htdocs\stopky\vendor\symfony\dependency-injection\Compiler\ResolveChildDefinitionsPass.php:58 Symfony\Component\DependencyInjection\Compiler\ResolveChildDefinitionsPass->resolveDefinition() at C:\xampp\htdocs\stopky\vendor\symfony\dependency-injection\Compiler\ResolveChildDefinitionsPass.php:39 Symfony\Component\DependencyInjection\Compiler\ResolveChildDefinitionsPass->processValue() at C:\xampp\htdocs\stopky\vendor\symfony\dependency-injection\Compiler\AbstractRecursivePass.php:60 Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass->processValue() at C:\xampp\htdocs\stopky\vendor\symfony\dependency-injection\Compiler\ResolveChildDefinitionsPass.php:31 Symfony\Component\DependencyInjection\Compiler\ResolveChildDefinitionsPass->processValue() at C:\xampp\htdocs\stopky\vendor\symfony\dependency-injection\Compiler\AbstractRecursivePass.php:39 Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass->process() at C:\xampp\htdocs\stopky\vendor\symfony\dependency-injection\Compiler\Compiler.php:95 Symfony\Component\DependencyInjection\Compiler\Compiler->compile() at C:\xampp\htdocs\stopky\vendor\symfony\dependency-injection\ContainerBuilder.php:736 Symfony\Component\DependencyInjection\ContainerBuilder->compile() at C:\xampp\htdocs\stopky\vendor\symfony\http-kernel\Kernel.php:519 Symfony\Component\HttpKernel\Kernel->initializeContainer() at C:\xampp\htdocs\stopky\vendor\symfony\http-kernel\Kernel.php:123 Symfony\Component\HttpKernel\Kernel->boot() at C:\xampp\htdocs\stopky\vendor\symfony\framework-bundle\Console\Application.php:65 Symfony\Bundle\FrameworkBundle\Console\Application->doRun() at C:\xampp\htdocs\stopky\vendor\symfony\console\Application.php:145 Symfony\Component\Console\Application->run() at C:\xampp\htdocs\stopky\bin\console:39 ``` Playing a bit and using search-fu I've made my way to this: https://stackoverflow.com/a/46408007/7973475 I did not make the proposed change to services.yml (or services.yaml in my case) and server started, everything looks ok. Commits ------- 201b938 server fails to run on this tutorial
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I received error when following this tutorial:
Playing a bit and using search-fu I've made my way to this:
https://stackoverflow.com/a/46408007/7973475
I did not make the proposed change to services.yml (or services.yaml in my case) and server started, everything looks ok.