Error message

Deprecated function: Drupal\social_api\AuthManager\OAuth2Manager::__construct(): Implicitly marking parameter $request as nullable is deprecated, the explicit nullable type must be used instead in include() (line 576 of vendor/composer/ClassLoader.php).

include() (Line: 576)

{closure:Composer\Autoload\ClassLoader::initializeIncludeClosure():575}() (Line: 427)

Composer\Autoload\ClassLoader->loadClass() (Line: 12)

include() (Line: 576)

{closure:Composer\Autoload\ClassLoader::initializeIncludeClosure():575}() (Line: 427)

Composer\Autoload\ClassLoader->loadClass() (Line: 17)

include() (Line: 576)

{closure:Composer\Autoload\ClassLoader::initializeIncludeClosure():575}() (Line: 427)

Composer\Autoload\ClassLoader->loadClass() (Line: 180)

Drupal\social_auth\Controller\OAuth2ControllerBase->setUp() (Line: 237)

Drupal\social_auth\Controller\OAuth2ControllerBase->redirectToProvider()

call_user_func_array() (Line: 123)

Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->{closure:Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber::wrapControllerExecutionInRenderContext():121}() (Line: 634)

Drupal\Core\Render\Renderer::{closure:Drupal\Core\Render\Renderer::executeInRenderContext():634}()

Fiber->start() (Line: 635)

Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 121)

Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext() (Line: 97)

Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->{closure:Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber::onController():96}() (Line: 183)

Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 76)

Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 54)

Drupal\simple_oauth\HttpMiddleware\BasicAuthSwap->handle() (Line: 53)

Drupal\Core\StackMiddleware\Session->handle() (Line: 48)

Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 28)

Drupal\Core\StackMiddleware\ContentLength->handle() (Line: 118)

Drupal\page_cache\StackMiddleware\PageCache->pass() (Line: 92)

Drupal\page_cache\StackMiddleware\PageCache->handle() (Line: 48)

Issue fork social_api-3593752

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

flutterstack created an issue. See original summary.

joaopauloc.dev made their first commit to this issue’s fork.

joaopauloc.dev’s picture

Status: Active » Needs review

Im also facing this issue.
my setup
social_api: 4.0.2
social_auth_google: 4.0.3
Drupal core: 11.3.11
php: 8.4.18

I push a very small change to fix the deprecated warning message.

m.managoudis’s picture

Assigned: Unassigned » m.managoudis
m.managoudis’s picture

Assigned: m.managoudis » Unassigned
Status: Needs review » Reviewed & tested by the community

Confirming RTBC