Skip to content
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

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

Open
antoine-salamitou opened this issue Feb 26, 2018 · 4 comments

Comments

@antoine-salamitou
Copy link

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
Copy link
Member

garak commented Feb 27, 2018

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

@antoine-salamitou
Copy link
Author

ok thx too bad

@Tomasz-Kolasa
Copy link

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
Copy link
Member

garak commented Oct 24, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants