Closed (cannot reproduce)
Project:
Social Auth Facebook
Version:
3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Jan 2021 at 23:19 UTC
Updated:
21 Jan 2021 at 18:49 UTC
Jump to comment: Most recent
Comments
Comment #2
wellsI'm not sure if the 8.x-2.x Drupal 9 support was actually complete. Could you test with 3.0.0-rc1 and report back if you still have this issue?
Comment #3
khoebekeThanks for the update to RC1! ;)
I installed RC1 but now have this error:
Comment #4
khoebekeHi Mr Wells,
Thanks for the update to 3.0.0-rc1 update!
I now have an other error, I already made a new issue.
Comment #5
wellsThanks for following up, @Khoebeke. I'm closing this issue assuming it is resolved. Please re-open if that's not the case.
Comment #6
khoebekeHi Mr Wells
I had the same error again after updating from Drupal 9.1.2 to 9.1.3.
I still use 3.0.0-rc2 who was working perfectly on Drupal 9.1.2
After running composer require league/oauth2-facebook ok on Drupal 9.1.3.
Just wanted to inform you about this.
Comment #7
paintingguy commentedevery time I update drupal core I get this error:
The website encountered an unexpected error. Please try again later.
Drupal\social_api\SocialApiException: The PHP League OAuth2 library for Facebook not found. Class: \League\OAuth2\Client\Provider\Facebook. in Drupal\social_auth_facebook\Plugin\Network\FacebookAuth->initSdk() (line 44 of modules/social_auth_facebook/src/Plugin/Network/FacebookAuth.php).
Drupal\social_api\Plugin\NetworkBase->getSdk() (Line: 167)
Drupal\social_auth\Controller\OAuth2ControllerBase->Drupal\social_auth\Controller\{closure}() (Line: 578)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 208)
Drupal\social_auth\Controller\OAuth2ControllerBase->redirectToProvider()
call_user_func_array(Array, Array) (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 578)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 124)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 158)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 80)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 50)
Drupal\ban\BanMiddleware->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 717)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)