Silex 2 : Security firewall error with locale (Silex SecurityServiceProvider + Pmaxs\\LocaleServiceProvider)
I saw this solution but I can't make it works... So here is my code, what I tried and what I get : My code 1/ My Security Provider : $app->register(new Silex\Provider\SessionServiceProvider()); $app->register(new Silex\Provider\SecurityServiceProvider(), array( 'security.firewalls' => array( 'secured' => array( 'pattern' => '^/', 'anonymous' => true, 'logout' => true, 'form' => array( 'login_path' => '/login', 'check_path' => '/login_check'), 'users' => function () use ($app) { return new Myapp\DAO\UserDAO($app['db']); }, ), ), )); 2/ My Translator Provider I use : https://github.com/pmaxs