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

Fixes #11119 - Downgraded/Removed log statements #11197

Merged
merged 1 commit into from
May 25, 2022

Conversation

uberbrady
Copy link
Collaborator

In PHP 8.1, the 'type' of an LDAP Connection has changed from a 'resource' to an LDAP\Connection class instance.

Those instances cannot be directly output to logs, without a "class-to-string conversion" error, which breaks the script.

This simply removes that logging statement, and I saw another one that was using ::info instead of ::debug - so I pulled that one too.

I switched my local to PHP 8.1 and it wouldn't complete the ldap sync. After removing those statements, however, it did.

@uberbrady uberbrady requested a review from snipe as a code owner May 25, 2022 02:34
@snipe snipe merged commit 070c36f into snipe:develop May 25, 2022
@snipe snipe added the ldap label Jun 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants