Fatal error: Uncaught Error: Undefined constant "LDAP_DEREF_SEARCHING" in /opt/lampp/htdocs/dima/sites/all/modules/ldap/ldap_query/LdapQuery.class.php:440 Stack trace: #0 /opt/lampp/htdocs/dima/sites/all/modules/ldap/ldap_query/ldap_query.install(56): LdapQuery::fields() #1 /opt/lampp/htdocs/dima/includes/module.inc(935): ldap_query_schema() #2 /opt/lampp/htdocs/dima/includes/bootstrap.inc(3411): module_invoke('ldap_query', 'schema') #3 /opt/lampp/htdocs/dima/includes/bootstrap.inc(3331): drupal_get_complete_schema(true) #4 /opt/lampp/htdocs/dima/sites/all/modules/ctools/includes/export.inc(1000): drupal_get_schema('relation_type', true) #5 /opt/lampp/htdocs/dima/sites/all/modules/ctools/includes/export.inc(134): ctools_export_get_schema('relation_type') #6 /opt/lampp/htdocs/dima/sites/all/modules/relation/relation.module(342): ctools_export_crud_load_all('relation_type') #7 /opt/lampp/htdocs/dima/sites/all/modules/relation/relation.module(40): relation_get_types() #8 /opt/lampp/htdocs/dima/includes/module.inc(966): relation_entity_info() #9 /opt/lampp/htdocs/dima/includes/common.inc(7998): module_invoke_all('entity_info') #10 /opt/lampp/htdocs/dima/sites/all/modules/entity/entity.module(762): entity_get_info() #11 /opt/lampp/htdocs/dima/sites/all/modules/entity/entity.rules.inc(96): entity_crud_get_info() #12 /opt/lampp/htdocs/dima/sites/all/modules/OLD/rules/rules.module(276): entity_rules_event_info() #13 /opt/lampp/htdocs/dima/sites/all/modules/OLD/rules/includes/rules.plugins.inc(832): rules_fetch_data('event_info') #14 /opt/lampp/htdocs/dima/sites/all/modules/OLD/rules/rules.module(413): RulesEventSet::rebuildEventCache() #15 /opt/lampp/htdocs/dima/sites/all/modules/OLD/rules/rules.module(1054): rules_get_cache('rules_event_whi...') #16 /opt/lampp/htdocs/dima/sites/all/modules/OLD/rules/modules/events.inc(200): rules_invoke_event('watchdog', Array) #17 /opt/lampp/htdocs/dima/includes/module.inc(966): rules_watchdog(Array) #18 /opt/lampp/htdocs/dima/includes/bootstrap.inc(2076): module_invoke_all('watchdog', Array) #19 /opt/lampp/htdocs/dima/includes/errors.inc(208): watchdog('php', '%type: !message...', Array, 3) #20 /opt/lampp/htdocs/dima/includes/bootstrap.inc(2670): _drupal_log_error(Array, true) #21 [internal function]: _drupal_exception_handler(Object(Error)) #22 {main} thrown in /opt/lampp/htdocs/dima/sites/all/modules/ldap/ldap_query/LdapQuery.class.php on line 440