Issue Bug Closed

#99884GeneralUtility::cmpIP -> trim() issue with PHP 8.1

Henrik Elsner 02/08/23, 16:14 updated 02/09/23, 07:42

Description

I get an FATAL error with PHP 8.1 on the mentioned line (218)
The error message is not formatted or anything.

using `$list = trim($list ?? ‘’);` already solved the issue. (will provide patch later)

I don’t know if that’s the fitting patch though.
Also i see an trim() call without the null check in line 267 as well

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.