-
Notifications
You must be signed in to change notification settings - Fork 19
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
Argument 1 passed to Vlabs\MediaBundle\EventListener\BaseFileListener::preSetData() #24
Comments
Did you installed the version 1.1 ? If you did so, you will have to upgrade to version 1.1.1 If not, change BaseFileListener::preSetData(DateEvent $event) in BaseFileListener::preSetData(FormEvent $event). |
Hi, As @systemasis said, you should use master or last tag 1.1.1 which are ok with last symfony version. |
Hi, i still have the same problem ! Her is the error :
I've tried to and get this error
Any help is welcom. |
Hi, I had same error. I fixed it by changing: in file myproject/vendor/vlabs/media-bundle/Vlabs/MediaBundle/EventListener/BaseFileListener.php for => public function preSetData(\Symfony\Component\Form\FormEvent $event) "don't forget \ before Symfony" and 80 => public function bind(DataEvent $event) for => public function bind(\Symfony\Component\Form\FormEvent $event) After that everything started to work perfectly |
Hi,
I have followed the documentation and I get this error:
I use Symfony 2.4
Any idea?
The text was updated successfully, but these errors were encountered: