New to the field can find specific answer in the web hope you can help me with this. I didn’t write the code I just follow a documentation on how to install openldap on php8.1 ubuntu 22.04
PHP 8.1 no longer supports passing null values to trim, prior to 8.1 those values would be turned into an empty string internally, with 8.1 they will no longer be changed.
If you have access to the code you should check if the value is null before being placed into trim or default the value to an empty string. You would need to fix those areas lsited in that error output manually.
2
Answers
PHP 8.1 no longer supports passing
null
values totrim
, prior to 8.1 those values would be turned into an empty string internally, with 8.1 they will no longer be changed.If you have access to the code you should check if the value is null before being placed into trim or default the value to an empty string. You would need to fix those areas lsited in that error output manually.
There is an official launchpad bug reported for this.
And if you check the github issues of phpLDAPadmin, there are a couple of other current bugs relevant to us with PHP 8+ and OpenSSL 3+.