On Nov 18, 2011, at 04:34 , Michael wrote:
> When I try to get the 'security.context' object when running a command
> line (./app/console....)
> I get the following error:
>
> [Symfony\Component\DependencyInjection\Exception
> \InactiveScopeException]
> You cannot create a service ("request") of an inactive scope
> ("request").
>
> Any idea how to solve it?
yes, none of the services you use on the CLI should depend on the Request
service:
http://symfony.com/doc/2.0/cookbook/service_container/scopes.html
regards,
Lukas Kahwe Smith
[email protected]
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en