DEPRECATED: Passing null to parameter #1 ($string) of type string in the trim() function results in unrecognized error number: 8192
P粉5877801032023-10-31 14:56:16
0
1
596
Newbies in this field can find specific answers online, I hope you can help me. I didn't write the code, I just followed the documentation on how to install openldap on php8.1 ubuntu 22.04
PHP 8.1 no longer supports passingnullvalues totrim, prior to 8.1 these values were internally converted to empty strings, in 8.1 they will no longer be Change.
If you have access to the code, you should check if the value is empty before putting it in trim, or default the value to an empty string. You need to manually fix those areas in the error output.
PHP 8.1 no longer supports passing
null
values totrim
, prior to 8.1 these values were internally converted to empty strings, in 8.1 they will no longer be Change.If you have access to the code, you should check if the value is empty before putting it in trim, or default the value to an empty string. You need to manually fix those areas in the error output.