Hi!
Recently I upgraded Symfony2 to version 2.0.9 and Doctrine2 to version 2.2.0 - and started receiving errors:
An exception has been thrown during the rendering of a template ("Passed array does not specify an existing method (class 'FM\BbCodeBundle\Decoda\Decoda' does not have a method '_loadFile')") in Ser5FooBundle:Div:list.html.twig at line 16.
I tried to change this line
spl_autoload_register(array($this, '_loadFile'));
to
spl_autoload_register(array($this, 'loadFile'));
and everything went fine.
Hi! Recently I upgraded Symfony2 to version 2.0.9 and Doctrine2 to version 2.2.0 - and started receiving errors:
An exception has been thrown during the rendering of a template ("Passed array does not specify an existing method (class 'FM\BbCodeBundle\Decoda\Decoda' does not have a method '_loadFile')") in Ser5FooBundle:Div:list.html.twig at line 16.
I tried to change this line
spl_autoload_register(array($this, '_loadFile'));
tospl_autoload_register(array($this, 'loadFile'));
and everything went fine.BTW, thanks for a nice bundle =)