Thanks.. but is there a way to override that?

On Nov 17, 11:10 pm, Lukas Kahwe Smith <m...@pooteeweet.org> wrote:
> 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
> m...@pooteeweet.org

-- 
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 symfony-devs@googlegroups.com
To unsubscribe from this group, send email to
symfony-devs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to