dwoo-project / dwoo

[UNMAINTAINED] php template engine
http://dwoo.org
GNU Lesser General Public License v3.0
167 stars 58 forks source link

LogicException on \Dwoo\Autoloader::register #35

Closed tyurderi closed 8 years ago

tyurderi commented 9 years ago

got the following error when trying to setup the autoloader of dwoo: http://puu.sh/hTm1Z/431090bcbd.png

what am i doing wrong?

Padrio commented 9 years ago

Are you using the Composer Autoloader?

fobo66 commented 9 years ago

I had the same problem. And I have not using Composer Autoloader. When I try it, my code start to work.

So, if you use Composer in your project, you should use require './vendor/autoload.php'; instead of any library's autoloaders.

emulienfou commented 8 years ago

No more method: \Dwoo\Autoloader::register.