在我们升级到 Drupal 9 之后,我们在所有的 drupal 页面中都遇到了以下错误:
TypeError: Drupal\ldap_user\Processor\DrupalUserProcessor::drupalUserLogsIn():
Argument #1 ($account) must be of type Drupal\user\UserInterface, null given, called in
portal/modules/ldap/ldap_user/src/Processor/GroupUserUpdateProcessor.php on line 302 in
Drupal\ldap_user\Processor\DrupalUserProcessor->drupalUserLogsIn() (line 449 of
modules/ldap/ldap_user/src/Processor/DrupalUserProcessor.php).
Drupal\ldap_user\Processor\DrupalUserProcessor->drupalUserLogsIn(NULL) (Line: 302)
Drupal\ldap_user\Processor\GroupUserUpdateProcessor->processAccount(Object, 'samaccountname') (Line: 246)