You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.
I get this error when i try to integrate fosfacebookbundle with fosuserbundle.
ContextErrorException: Catchable Fatal Error: Argument 2 passed to FOS\FacebookBundle\Security\Authentication\Provider\FacebookProvider::__construct() must be an instance of BaseFacebook, instance of FOS\UserBundle\Doctrine\UserManager given, called in /var/www/binbout/app/cache/dev/appDevDebugProjectContainer.php on line 1927 and defined in /var/www/binbout/vendor/friendsofsymfony/facebook-bundle/FOS/FacebookBundle/Security/Authentication/Provider/FacebookProvider.php line 38
My FacebookProvider class
public function __construct(BaseFacebook $facebook, $userManager, $validator)
{
$this->facebook = $facebook;
$this->userManager = $userManager;
$this->validator = $validator;
}
I get this error when i try to integrate fosfacebookbundle with fosuserbundle.
ContextErrorException: Catchable Fatal Error: Argument 2 passed to FOS\FacebookBundle\Security\Authentication\Provider\FacebookProvider::__construct() must be an instance of BaseFacebook, instance of FOS\UserBundle\Doctrine\UserManager given, called in /var/www/binbout/app/cache/dev/appDevDebugProjectContainer.php on line 1927 and defined in /var/www/binbout/vendor/friendsofsymfony/facebook-bundle/FOS/FacebookBundle/Security/Authentication/Provider/FacebookProvider.php line 38
My FacebookProvider class
My service declaration in config/config.yml:
The text was updated successfully, but these errors were encountered: