For Drupal 11, I encounter the following error when I click the Drupal tab or the LDAP tab on the User Settings page.
----------------------------------------------------------------------------------------------
The website encountered an unexpected error. Try again later.
TypeError: Drupal\ldap_user\Form\LdapUserMappingBaseForm::__construct(): Argument #2 ($typed_config_manager) must be of type Drupal\Core\Config\TypedConfigManagerInterface, Drupal\Core\Extension\ModuleHandler given, called in /var/www/html/web/modules/contrib/ldap/ldap_user/src/Form/LdapUserMappingToDrupalForm.php on line 64 in Drupal\ldap_user\Form\LdapUserMappingBaseForm->__construct() (line 87 of modules/contrib/ldap/ldap_user/src/Form/LdapUserMappingBaseForm.php).
Drupal\ldap_user\Form\LdapUserMappingToDrupalForm->__construct() (Line: 72)
Drupal\ldap_user\Form\LdapUserMappingToDrupalForm::create() (Line: 36)
Drupal\Core\DependencyInjection\ClassResolver->getInstanceFromDefinition() (Line: 48)
Drupal\Core\Controller\HtmlFormController->getFormObject() (Line: 58)
Drupal\Core\Controller\FormController->getContentResult()
call_user_func_array() (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 593)
Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 121)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext() (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 183)
Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 76)
Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 53)
Drupal\Core\StackMiddleware\Session->handle() (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 28)
Drupal\Core\StackMiddleware\ContentLength->handle() (Line: 32)
Drupal\big_pipe\StackMiddleware\ContentLength->handle() (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass() (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle() (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 36)
Drupal\Core\StackMiddleware\AjaxPageState->handle() (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle() (Line: 709)
Drupal\Core\DrupalKernel->handle() (Line: 19)
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | ldap_user-mapping-drupal-tab.png | 81.67 KB | mahmoudsayed96 |
Issue fork ldap-3473879
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
Comment #2
bluegeek9 commentedComment #3
bluegeek9 commentedPassing null to the $typedConfigManager parameter of ConfigFormBase::__construct() is deprecated in drupal:10.2.0 and must be an instance of \Drupal\Core\Config\TypedConfigManagerInterface in drupal:11.0.0.
See https://www.drupal.org/node/3404140
Comment #6
bluegeek9 commentedComment #8
mahmoudsayed96Hi @bluegeek9
I have an issue when open these tabs show me warning message "You do not have a server configured for mapping."
I already configured server and tested success.