symfony/symfony — Issue #3508: merged branch jmikola/logout-csrf (PR #3007)
Author: wizhippo
Created: 2012-03-05 20:28:35+00:00
State: open

After merged branch jmikola/logout-csrf (PR #3007) I get the exception:

You cannot create a service ("request") of an inactive scope ("request").

when running any console command. The logoutUrl helper looks like it is looking for the request during cache warmup maybe as the error does not happen if yo turn of optional cache warm.

It also happens when running commands like router:debug