Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Symfony 2.3 The parameter "kernel.http_method_override" must be defined

Tags:

symfony

So after migrating to Symfony v2.3 I keep getting the following message whenever I try to clear my cache:

The parameter "kernel.http_method_override" must be defined.

I've looked around Google and everyone is saying to clear the cache directories manually. I did that and also deployed a new (clean) version. The problem remains.

Can anyone provide more information about how to fix this?

Thanks

like image 796
mumia Avatar asked Jul 25 '13 13:07

mumia


1 Answers

Problem occurs only when you eg. call "assets:install", "assetic:dump", BEFORE you delete the cache of the symfony's previous version.

So that explains why the problem "misteriously" dissapeared. Delete the cache folder, or call "cache:clear", before you execute any other console command.

like image 112
Goran Avatar answered Oct 23 '22 19:10

Goran