Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- services:
- gymloop_profile_type:
- class: Gymloop\CoreBundle\Form\ProfileFormType
- tags:
- - { name: form.type, alias: gymloop.profile.type }
- gymloop_profile_handler:
- class: Gymloop\CoreBundle\Form\ProfileFormHandler
- scope: request
- public: false
- arguments: [ @fos_user.profile.form, @request, @fos_user.user_manager ]
- gymloop_registration_handler:
- class: Gymloop\CoreBundle\Form\RegistrationFormHandler
- scope: request
- public: false
- arguments: [ @fos_user.registration.form, @request, @fos_user.user_manager ]
- Error:
- Symfony\Component\Form\Exception\UnexpectedTypeException: Expected argument of type "FOS\UserBundle\Form\Model\CheckPassword", "Gymloop\CoreBundle\Entity\User" given (uncaught exception) at /Users/luke/Sites/symfony2/vendor/symfony/src/Symfony/Component/Form/Extension/Core/DataMapper/PropertyPathMapper.php line 48
Add Comment
Please, Sign In to add comment