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_link_alter causes a deprecation error for the in_array function on line 879 of rocketship_core.module when no classes where added to the variables array:
TypeError: in_array(): Argument #2 ($haystack) must be of type array, null given in in_array() (line 879 of /var/www/html/docroot/modules/contrib/rocketship_core/rocketship_core.module).
Comment | File | Size | Author |
---|---|---|---|
#2 | 3278672-2.patch | 543 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