I'm encountering numerous deprecation warnings related to the trim() function when null is passed to it:
Deprecated function: trim(): Passing null to parameter #1 ($string) of type string is deprecated in Drupal\cookies_filter\Services\CookiesFilterElementTypesService->filterTextByServiceFilter() (line 88 of modules/contrib/cookies/modules/cookies_filter/src/Services/CookiesFilterElementTypesService.php).

CommentFileSizeAuthor
#2 3476938-1.patch1.43 KBmxrtinax

Comments

mxrtinax created an issue. See original summary.

mxrtinax’s picture

StatusFileSize
new1.43 KB

A solution to this issue could be to ensure that a string is always passed to the trim() function.