You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Uncaught Exception TypeError: ldap_read(): Argument #1 ($ldap) must be of type LDAP|array, null given in /var/www/glpi/src/RuleRightCollection.php at line 253
#18803
Closed
2 tasks done
Perrette117 opened this issue
Jan 23, 2025
· 0 comments
When i want to test my engine rules, i have an error with the memberof LDAP (what ever i type in (LDAP) MemberOf )
Relevant log output
Example in php-error.log
[2025-01-23 16:06:29] glpiphplog.CRITICAL: *** Uncaught Exception TypeError: ldap_read(): Argument #1 ($ldap) must be of type LDAP|array, null given in /var/www/glpi/src/RuleRightCollection.php at line 253
Backtrace :
src/RuleRightCollection.php:253 ldap_read()
src/RuleCollection.php:1766 RuleRightCollection->prepareInputDataForProcess()
src/RuleCollection.php:1921 RuleCollection->testAllRules()
front/rulesengine.test.php:82 RuleCollection->showRulesEnginePreviewResultsForm()
Page URL
No response
Steps To reproduce
Do a link with your LDAP
Add user on group
Create a rule with the (LDAP) MemberOf
Test in the engine rules
Your GLPI setup information
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered:
Code of Conduct
Is there an existing issue for this?
Version
10.0.17
Bug description
When i want to test my engine rules, i have an error with the memberof LDAP (what ever i type in (LDAP) MemberOf )
Relevant log output
Page URL
No response
Steps To reproduce
Do a link with your LDAP
Add user on group
Create a rule with the (LDAP) MemberOf
Test in the engine rules
Your GLPI setup information
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: