Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong Filesystem class #93

Closed
pierre-b opened this issue Jan 1, 2012 · 4 comments
Closed

Wrong Filesystem class #93

pierre-b opened this issue Jan 1, 2012 · 4 comments

Comments

@pierre-b
Copy link

pierre-b commented Jan 1, 2012

Hi guys,

Since a recent update of symfony I have this error and Imagine doesnt work anymore:

Catchable Fatal Error: Argument 5 passed to Avalanche\Bundle\ImagineBundle\Controller\ImagineController::__construct() must be an instance of Symfony\Component\Filesystem\Filesystem, instance of Symfony\Component\HttpKernel\Util\Filesystem given, called in /Users/pb/Sites/affilae/www/app/cache/dev/appDevDebugProjectContainer.php on line 911 and defined in /Users/pb/Sites/affilae/www/vendor/bundles/Avalanche/Bundle/ImagineBundle/Controller/ImagineController.php line 60

Thank you for your help,

Regards.

@avalanche123
Copy link
Collaborator

This is an issue in the AvalancheImagineBundle. You have to check out the 2.0 tag to use it with Symfony's 2.x branch

@stof
Copy link
Contributor

stof commented Jan 2, 2012

To be exact, you need the tag when using 2.0.8 or lower. The 2.0 branch contains a forward compatible class allowing to use the new class name.

@pierre-b
Copy link
Author

pierre-b commented Jan 2, 2012

Sorry, I don't understand how using tags in my deps.
Could you drop an exemple please ?

@avalanche123
Copy link
Collaborator

cd /path/to/bundles/dir/Avalanche123/ImagineBundle
git checkout symfony-2.0
cd -

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants