helios-ag/FMBbCodeBundle — Issue #4: class 'FM\BbCodeBundle\Decoda\Decoda' does not have a method '_loadFile'
Author: Ser5
Created: 2012-01-31 19:04:37+00:00
State: open

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.

BTW, thanks for a nice bundle =)