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.
Hi I've been stuck at this for a couple days now. I have this error when i'm trying to load my page. Any suggestions on how to solve this problem or what I can do?
PHP Catchable fatal error: Argument 2 passed to FOS\TwitterBundle\Security\Authentication\Provider\TwitterProvider::__construct() must implement interface Symfony\Component\Security\Core\User\UserProviderInterface, instance of FOS\TwitterBundle\Security\Authentication\Provider\TwitterProvider given, called in /home/gsitu/git/dev-local2/app/cache/dev/appDevDebugProjectContainer.php on line 4731 and defined in /home/gsitu/git/dev-local2/vendor/friendsofsymfony/twitter-bundle/FOS/TwitterBundle/Security/Authentication/Provider/TwitterProvider.php on line 36
The text was updated successfully, but these errors were encountered:
Just fixed it, I had an error in my controller where I was calling the wrong TwitterProvider.
Also had the argument 4 error fixed it with changing the use statement in
friendsofsymfony/twitter-bundle/FOS/TwitterBundle/Security/Authentication/Provider/TwitterProvider.php
to
use Symfony\Component\HttpFoundation\Session\Session
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi I've been stuck at this for a couple days now. I have this error when i'm trying to load my page. Any suggestions on how to solve this problem or what I can do?
PHP Catchable fatal error: Argument 2 passed to FOS\TwitterBundle\Security\Authentication\Provider\TwitterProvider::__construct() must implement interface Symfony\Component\Security\Core\User\UserProviderInterface, instance of FOS\TwitterBundle\Security\Authentication\Provider\TwitterProvider given, called in /home/gsitu/git/dev-local2/app/cache/dev/appDevDebugProjectContainer.php on line 4731 and defined in /home/gsitu/git/dev-local2/vendor/friendsofsymfony/twitter-bundle/FOS/TwitterBundle/Security/Authentication/Provider/TwitterProvider.php on line 36
The text was updated successfully, but these errors were encountered: