FriendsOfSymfony / FOSFacebookBundle

NOT MAINTAINED - see https://github.com/hwi/HWIOAuthBundle
322 stars 140 forks source link

FacebookProvider uses an unitialized property #317

Open garak opened 10 years ago

garak commented 10 years ago

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 commented 10 years ago

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 commented 10 years ago

Which version of FOSUserBundle are you using?

garak commented 10 years ago

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

stof commented 10 years ago

composer show -i shows you what is installed

garak commented 10 years ago

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