Gregwar/ImageBundle — Issue #9: error: __toString() must not throw an exception
Author: inmarelibero
Created: 2012-02-22 09:37:05+00:00
State: open

Hi, following http://knpbundles.com/Gregwar/ImageBundle I installed correctly this bundle,but when I try to use

{{ image( '/images/' ~ image.filename).resize(20,20) }}

it gives me thi error:

Fatal error: Method Gregwar\ImageBundle\ImageHandler::__toString() must not throw an exception
in [...]/app/cache/dev/classes.php on line 0

any idea on what's wrong? thanks