Closed fcpauldiaz closed 6 years ago
I updated to Symfony 3.4 and I'm getting this error:
Could not load type "fos_user_registration": class does not exist. Error is here:
Could not load type "fos_user_registration": class does not exist.
public function registerAction() { return $this->container ->get('pugx_multi_user.registration_manager') ->register(UsuarioTrabajador::class); }
I tried changing fos_user_registration to fos_user_registration_register in the form but no luck.
fos_user_registration
fos_user_registration_register
How do I fix this?
I fixed this by changing the form method to this:
public function getParent() { return 'FOS\UserBundle\Form\Type\RegistrationFormType'; }
I updated to Symfony 3.4 and I'm getting this error:
Could not load type "fos_user_registration": class does not exist.
Error is here:I tried changing
fos_user_registration
tofos_user_registration_register
in the form but no luck.How do I fix this?