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.
Running an install profile with the gigya module in hook_profile_modules results in a fatal error.
( ! ) Warning: array_merge() [function.array-merge]: Argument #2 is not an array in includes/install.inc on line 691
Comment | File | Size | Author |
---|---|---|---|
#1 | gigya-install_profile_error-1551066.patch | 1019 bytes | emosbaugh |
Comments
Comment #1
emosbaugh CreditAttribution: emosbaugh commentedpatch attached
Comment #2
hckurniawan CreditAttribution: hckurniawan commentedHave the same problem with Drupal 7. Surprised that this patch did not get included after 1 year being open. The patch made by emosbaugh is good, however according to the documentation, hook_requirements returns:
So, each of the requirements array must be an associative array.
Comment #3
benjy CreditAttribution: benjy commentedCan we get this committed, the current stable release has this exact problem and causes issues when using the module from within an install profile.
Comment #4
benjy CreditAttribution: benjy commentedComment #5
Garrett Albright CreditAttribution: Garrett Albright commentedCode fixing this issue is currently in the dev release. I suggest you use the dev release until a new versioned release is available (which should have been several months ago, since this is a pretty major problem…)
Comment #6
gambaweb CreditAttribution: gambaweb commentedthanks.