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

CommentFileSizeAuthor
#1 gigya-install_profile_error-1551066.patch1019 bytesemosbaugh
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

emosbaugh’s picture

Status: Active » Needs review
FileSize
1019 bytes

patch attached

hckurniawan’s picture

Have 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:

An associative array where the keys are arbitrary but must be unique (it is suggested to use the module short name as a prefix) and the values are themselves associative arrays

So, each of the requirements array must be an associative array.

benjy’s picture

Version: 6.x-3.x-dev » 7.x-4.4
Issue summary: View changes
Status: Needs review » Reviewed & tested by the community

Can we get this committed, the current stable release has this exact problem and causes issues when using the module from within an install profile.

benjy’s picture

Priority: Normal » Major
Garrett Albright’s picture

Code 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…)

gambaweb’s picture

Status: Reviewed & tested by the community » Closed (fixed)

thanks.