FOSFacebookBundle icon indicating copy to clipboard operation
FOSFacebookBundle copied to clipboard

FacebookProvider uses an unitialized property

Open garak opened this issue 10 years ago • 5 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

garak avatar Apr 14 '14 15:04 garak

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"

sebabouche avatar Apr 15 '14 10:04 sebabouche

Which version of FOSUserBundle are you using?

mappedinn avatar Apr 21 '14 09:04 mappedinn

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

garak avatar Apr 22 '14 15:04 garak

composer show -i shows you what is installed

stof avatar Apr 22 '14 16:04 stof

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

garak avatar Apr 22 '14 16:04 garak