Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
rocketship_core/modules/rocketship_blocks/src/Form/SimpleSearchForm.php causes a deprecation error for the strtolower function when no default value was supplied:
Deprecated function: strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in Drupal\rocketship_blocks\Form\SimpleSearchForm->buildForm()(line 76of modules/contrib/rocketship_core/modules/rocketship_blocks/src/Form/SimpleSearchForm.php).
Comment | File | Size | Author |
---|---|---|---|
#2 | 3278526-2.patch | 716 bytes | L_VanDamme |
Comments
Comment #2
L_VanDamme CreditAttribution: L_VanDamme at Dropsolid commentedComment #3
L_VanDamme CreditAttribution: L_VanDamme at Dropsolid commentedComment #5
Grayle CreditAttribution: Grayle at Dropsolid commented