Fatal error: Call to a member function getMaterializedPath() on a non-object in /home/varivane/src/Application/ProductBundle/Controller/ProductController.php on line 30