Symfony 2 cache stuck after config change (FileLoaderException) -
very strange behavior in sf2 here. i've try change config namespaces while refactoring code:
adadgio_rocket: foo: 'bar'
to simple
adadgio: rocket: 'bar'
i have change bundle di configuration nodes reflect change :
$rootnode = $treebuilder->root('adadgio'); $rootnode->children() ->scalarnode('rocket')->end() ->end();
now have fileloaderloadexception
still saying able load configuration adadgio
still finds adadgio_rocket
namespace (error results).
i tried clear cache thinking issue, of course, symphony cache command issues same error. , still finds other config namespaces removes (and declaration in appkernel well).
basically, stuck now.
yes, sort of stuff can happen. delete app/cache/dev
directory , run app/console cache:clear
again.
if still doesn’t work, make 100% sure there no remainders in config or referenced in other bundles. if unsure, check:
grep -ir adadgio app/config/ src/ vendor/
Comments
Post a Comment