Intermitant Log in issues for users

[ad_1]

An error of type E_ERROR was caused in line 92 of the file \wp-content\plugins\next-active-directory-integration\src\shared\Ldap\Attribute\Converter.php. Error message: Uncaught TypeError: Unsupported operand types: string / int in \wp-content\plugins\next-active-directory-integration\src\shared\Ldap\Attribute\Converter.php:92

Stack trace:

#0 \wp-content\plugins\next-active-directory-integration\src\shared\Ldap\Attribute\Converter.php(42): Dreitier\Ldap\Attribute\Converter::formatTimestamp()

#1 \wp-content\plugins\next-active-directory-integration\src\plug-in\User\Manager.php(544): Dreitier\Ldap\Attribute\Converter::formatAttributeValue()

#2 \wp-content\plugins\next-active-directory-integration\src\shared\Util\ArrayUtil.php(105): Dreitier\Nadi\User\Manager->Dreitier\Nadi\User\{closure}()

#3 \wp-content\plugins\next-active-directory-integration\src\plug-in\User\Manager.php(555): Dreitier\Util\ArrayUtil::filter()

#4 \wp-content\plugins\next-active-directory-integration\src\plug-in\User\Manager.php(466): Dreitier\Nadi\User\Manager->filterEmptyAttributes()

#5 \wp-content\plugins\next-active-directory-integration\src\plug-in\User\Manager.php(308): Dreitier\Nadi\User\Manager->updateUserMetaDataFromActiveDirectory()

#6 \wp-content\plugins\next-active-directory-integration\src\plug-in\User\LoginSucceededService.php(220): Dreitier\Nadi\User\Manager->update()

#7 \wp-content\plugins\next-active-directory-integration\src\plug-in\User\LoginSucceededService.php(150): Dreitier\Nadi\User\LoginSucceededService->updateUser()

#8 \wp-includes\class-wp-hook.php(308): Dreitier\Nadi\User\LoginSucceededService->updateOrCreateUser()

#9 \wp-includes\plugin.php(205): WP_Hook->apply_filters()

#10 \wp-content\plugins\next-active-directory-integration\src\plug-in\User\LoginSucceededService.php(85): apply_filters()

#11 \wp-includes\class-wp-hook.php(308): Dreitier\Nadi\User\LoginSucceededService->updateOrCreateAfterSuccessfulLogin()

  • This reply was modified 13 hours, 6 minutes ago by webmasterhboe.

Please check your attribute mapping (https://docs.active-directory-wp.com/Configuration/Attributes/index.html) for a timestamp type field. This could be a misconfiguration, so that this field should be a string.

We are adding an explicit cast for string to int. You can check out https://github.com/NeosIT/active-directory-integration2/commit/8b55b2af2465585f184bf420cf167616b6da545b

For reference: We are tracking this issue in https://github.com/NeosIT/active-directory-integration2/issues/184

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer