PUGX / PUGXMultiUserBundle

An extension for FOSUserBundle to handle users of different types. Compatible with Doctrine ORM.
163 stars 96 forks source link

PUGXMultiUserBundle Too few arguments to function FOS\UserBundle\Controller\RegistrationController::__construct() #156

Open antoine-salamitou opened 6 years ago

antoine-salamitou commented 6 years ago

Hi i am trying to use PUGXMultiUserBundle on Symfony 3.4, i followed the documentation step by step and when i am trying to go on http://localhost:8888/web/app_dev.php/register/user-one i have this error : Type error: Too few arguments to function FOS\UserBundle\Controller\RegistrationController::__construct(), 0 passed in /Users/Antoine/Desktop/pugx/Symfony/var/cache/dev/ContainerSmtb8gw/getPugxMultiUser_RegistrationManagerService.php on line 8 and exactly 4 expected

i have tried everything !

garak commented 6 years ago

I don't think this bundle is suitable for Symfony 3.4 or for any other recent version of Symfony

antoine-salamitou commented 6 years ago

ok thx too bad

Tomasz-Kolasa commented 5 years ago

I've wasted 4 hours configuring the PUGXMultiUserBundle and it turns out it's not suitable for Symfony 3.4 - what a waste of time! Anyway, does anyone could tell me if theres's any alternative way to use multiple users entities in Symfony?

garak commented 5 years ago

@Tomasz-Kolasa of course there's a way: just do not use FOSUserBundle