Gregwar/ImageBundle — Issue #1: Error when using the class Image
Author: phoenix741
Created: 2011-10-30 18:26:43+00:00
State: open

When using this bundle, i have the following error :
An exception has been thrown during the rendering of a template ("The autoloader expected class "Gregwar\Image" to be defined in file "........./app/../vendor/gregwar-image/bundle//Gregwar/Image.php". The file was found but the class was not in it, the class name or namespace probably has a typo.") in ".......Bundle:Product:products_content.html.twig" at line 17.

I have resolved this error by changing in the file Image.php the namespace from Gregwar\Image to Gregwar. This is because the file Image.php is in the directory Gregwar and not in a subdirectory Image.

Thanks for this usefull bundle.