KnpMenuBundle icon indicating copy to clipboard operation
KnpMenuBundle copied to clipboard

Call to undefined method Knp\Bundle\MenuBundle\DependencyInjection\KnpMenuExtension::processConfiguration()

Open cifren opened this issue 15 years ago • 3 comments

i found this, i dont know if its an error but for me, it was a nasty error :)

use Symfony\Component\Config\Definition\Processor;

class KnpMenuExtension extends Extension{ public function load(array $configs, ContainerBuilder $container) { .. $processor = new Processor(); $config = $processor->processConfiguration($configuration, $configs); .. }

instead of $config = $this>processConfiguration($configuration, $configs);

cifren avatar Oct 30 '11 07:10 cifren

Upgrade your Symfony version to one of the released version. This method exists since beta1 or so.

stof avatar Oct 30 '11 09:10 stof

oki, but now i updated with php bin/vendor install and now its the hell !! lol

Thanks, i have updated my version to v2.0.4 and its well.

cifren avatar Oct 30 '11 21:10 cifren

finish

cifren avatar Oct 30 '11 21:10 cifren