jvogtuw / shibboleth

Shibboleth authentication module for Drupal 9+
0 stars 3 forks source link

Login error with new NetID user #6

Open pkeyes opened 1 year ago

pkeyes commented 1 year ago

No other authentication modules installed.

No multilingual installed.

PHP 8.1.14 Drupal 9.5.13 MariaDB 10.10.3

Shibboleth error: Unable to create a Drupal user for the Shibboleth authname mwdisc@washington.edu.

User error:

Deprecated function: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in Drupal\shibboleth\Authentication\ShibbolethAuthManager->getEmail() (line 159 of modules/custom/shibboleth/src/Authentication/ShibbolethAuthManager.php). Drupal\shibboleth\Authentication\ShibbolethAuthManager->getEmail() (Line: 170) Drupal\shibboleth\Authentication\ShibbolethDrupalAuthManager->registerUser() (Line: 113) Drupal\shibboleth\Authentication\ShibbolethDrupalAuthManager->loginRegister() (Line: 91) Drupal\shibboleth\Controller\LoginController->login() call_user_func_array(Array, Array) (Line: 123) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber{closure}() (Line: 580) 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: 169) Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 81) Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58) Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48) Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 191) Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 128) Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 82) Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48) Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51) Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23) Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 713) Drupal\Core\DrupalKernel->handle(Object) (Line: 19)