Closed (fixed)
Project:
Crop API
Version:
8.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Mar 2024 at 10:53 UTC
Updated:
22 Jul 2024 at 16:19 UTC
Jump to comment: Most recent
When visiting the crop type listing (/admin/config/media/crop), for every crop type without a description the following warning is shown:
Deprecated function: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in Drupal\Component\Utility\Unicode::validateUtf8() (line 395 of core/lib/Drupal/Component/Utility/Unicode.php).
This deprecation only shows when using PHP 8.1+.
Pass an empty string to Xss::filterAdmin() if $entity->description is NULL.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
dieterholvoet commentedComment #4
dieterholvoet commentedComment #5
dieterholvoet commentedComment #6
tart0Patch tested, this fix the issue, thanks !
Comment #7
phenaproximaComment #9
phenaproximaLooks good to me. Merged into 8.x-2.x.