Guest User

Untitled

a guest
Oct 16th, 2017
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | None | 0 0
  1. services:
  2. gymloop_profile_type:
  3. class: Gymloop\CoreBundle\Form\ProfileFormType
  4. tags:
  5. - { name: form.type, alias: gymloop.profile.type }
  6.  
  7. gymloop_profile_handler:
  8. class: Gymloop\CoreBundle\Form\ProfileFormHandler
  9. scope: request
  10. public: false
  11. arguments: [ @fos_user.profile.form, @request, @fos_user.user_manager ]
  12.  
  13. gymloop_registration_handler:
  14. class: Gymloop\CoreBundle\Form\RegistrationFormHandler
  15. scope: request
  16. public: false
  17. arguments: [ @fos_user.registration.form, @request, @fos_user.user_manager ]
  18.  
  19. Error:
  20.  
  21.  
  22. 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