Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

league/oauth2-client package upgraded to 2.4.0 leading to FatalErrorException in LinkedIn.php line 11 #143

Closed
picks44 opened this issue Nov 22, 2018 · 4 comments

Comments

@picks44
Copy link

picks44 commented Nov 22, 2018

Since the upgrade of the league/oauth2-client package to 2.4.0, we have this fatal error

Compile Error: Declaration of League\OAuth2\Client\Provider\LinkedIn::getResourceOwnerDetailsUrl() must be compatible with League\OAuth2\Client\Provider\AbstractProvider::getResourceOwnerDetailsUrl(League\OAuth2\Client\Token\AccessTokenInterface $token)
Please advise/fix!

@picks44 picks44 changed the title FatalErrorException in LinkedIn.php line 11 league/oauth2-client package upgraded to 2.4.0 leading to FatalErrorException in LinkedIn.php line 11 Nov 22, 2018
@kumulo
Copy link

kumulo commented Nov 22, 2018

You can see a league/oauth2-client open issue here #752
There is a hotfix for your composer.json :

    "conflict": {
+        "league/oauth2-client": "2.4.0"
    },

@picks44
Copy link
Author

picks44 commented Nov 22, 2018

Thanks @kumulo. I rolled back to the previous version in the meantime until a fix is found at league/oauth2-client

@ramsey
Copy link

ramsey commented Nov 22, 2018

Please check release 2.4.1 of league/oauth2-client and confirm that it fixes this issue. Thanks!

@picks44
Copy link
Author

picks44 commented Nov 23, 2018

@ramsey fixed, thanks!

@picks44 picks44 closed this as completed Nov 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants