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.
I'm getting the following error from both the 7.x-1.x branch:
in_array() expects parameter 2 to be array, null given features_master.module:272
I'll be posting a possible patch that's working for me locally.
Comment | File | Size | Author |
---|---|---|---|
#3 | arguments-are-not-arrays_2725035_3.patch | 1.69 KB | dharizza |
#2 | 0001-Fix-in_array-expects-parameter-2-to-be-array-null-gi.patch | 1.05 KB | dkinzer |
Comments
Comment #2
dkinzer CreditAttribution: dkinzer as a volunteer and commentedComment #3
dharizza CreditAttribution: dharizza commentedHi,
I'm getting the same problem and that patch seems to work for me but I also got another couple of errors saying:
array_diff_key(): Argument #1 is not an array features_master.module:294
andarray_diff_key(): Argument #2 is not an array features_master.module:301
so I created a new patch including @dkinzer changes and the fix for the array_diff_key errors.Thanks.
Comment #4
dkinzer CreditAttribution: dkinzer as a volunteer and commentedComment #6
frankcarey CreditAttribution: frankcarey as a volunteer and at DEVINCI commentedMerged and created a new 7.x-1.1 release. Thanks!