Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP v8.4 error: Call to undefined function LdapRecord\Models\Attributes\ldap_escape() #683

Closed
tsangaris opened this issue Mar 4, 2025 · 2 comments

Comments

@tsangaris
Copy link

Environment:

  • LDAP Server Type: [ActiveDirectory ]
  • LdapRecord-Laravel Major Version: [v3.3]
  • PHP Version: [8.4]

Describe the bug:

I updated the PHP version from 8.3 to 8.4 and i received the error below:

Call to undefined function LdapRecord\Models\Attributes\ldap_escape()

After going back to PHP version 8.3 it resolved the issue.

Any feedback?

Thanks

@tsangaris
Copy link
Author

I just found out that i had to enable the extension=ldap inside the php.ini.

Then everything worked just fine.

@stevebauman
Copy link
Member

Thanks for updating @tsangaris. Glad you've resolved it 👏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants