Receiving following error on 'User' tab of LDAP configuration

Notice: Undefined variable: row in LdapUserConfAdmin->getSyncFormRow() (line 1052 of modules/contrib/ldap/ldap_user/LdapUserConfAdmin.class.php).
LdapUserConfAdmin->getSyncFormRow('nonconfigurable', 1, Array, Array, 'field-ldap_user_puid_sid') (Line: 904)
LdapUserConfAdmin->getServerMappingFields(1) (Line: 360)
LdapUserConfAdmin->drupalForm() (Line: 44)
Drupal\ldap_user\Form\LdapUserAdminForm->buildForm(Array, Object)
call_user_func_array(Array, Array) (Line: 512)
Drupal\Core\Form\FormBuilder->retrieveForm('ldap_user_admin_form', Object) (Line: 271)
Drupal\Core\Form\FormBuilder->buildForm(Object, Object) (Line: 74)
Drupal\Core\Controller\FormController->getContentResult(Object, Object)
call_user_func_array(Array, Array) (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 574)
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}()
call_user_func_array(Object, Array) (Line: 139)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 62)
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: 98)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 77)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 50)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 628)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)

Receiving following error on Creating new user:

Fatal error: Call to undefined function form_set_error() in /apps/drupal/docroot/modules/contrib/ldap/ldap_user/ldap_user.module on line 711

I am using Drupal Core 8.1.2
ldap version 8.x-3.x-dev
authorization 8.x-1.x-dev
externalauth 8.x-1.0-alpha3

Comments

gpandher created an issue. See original summary.

gpandher’s picture

Issue summary: View changes
grahl’s picture

grahl’s picture

Status: Active » Fixed

Should be fixed properly now with commit 5439ab9. Please check DEV and report back again, otherwise.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.