FriendsOfSymfony / FOSFacebookBundle

NOT MAINTAINED - see https://github.com/hwi/HWIOAuthBundle

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FacebookProvider uses an unitialized property

garak opened this issue · comments

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

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"

Which version of FOSUserBundle are you using?

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

composer show -i shows you what is installed

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