Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

FacebookProvider uses an unitialized property #317

Open
garak opened this issue Apr 14, 2014 · 5 comments
Open

FacebookProvider uses an unitialized property #317

garak opened this issue Apr 14, 2014 · 5 comments

Comments

@garak
Copy link

garak commented Apr 14, 2014

In documentation:
https://github.com/FriendsOfSymfony/FOSFacebookBundle/blob/master/Resources/doc/2-integration-with-fosuserbundle.md

inside FacebookProvider class, method supportsClass uses a property $this->userProvider that is declared protected and not initialized

@sebabouche
Copy link

I think this causes me a problem too:
"FatalErrorException: Error: Call to a member function supportsClass() on a non-object in /Users/username/Symfony/src/Acme/UserBundle/Security/User/Provider/FacebookProvider.php line 40"

@mappedinn
Copy link

Which version of FOSUserBundle are you using?

@garak
Copy link
Author

garak commented Apr 22, 2014

Not sure if you're asking to me... the issue is with dev-master version

@stof
Copy link
Member

stof commented Apr 22, 2014

composer show -i shows you what is installed

@garak
Copy link
Author

garak commented Apr 22, 2014

But the issue is not about actual code, it's about documentation (as linked above)

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

No branches or pull requests

4 participants