Closed (fixed)
Project:
Gigya - Social Infrastructure
Version:
7.x-3.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Dec 2011 at 17:03 UTC
Updated:
24 Jan 2012 at 14:46 UTC
Profile installations check hook_requirements() for modules in a way that requires that function to always return an array.
The function gigya_requirements() can fail to return an array, and this causes the following warning:
Warning: array_merge(): Argument #2 is not an array in drupal_check_profile() (line 1166 of /var/www/nextgen/includes/install.inc).
Which then causes all further checks on hook_requirements in the loop around line 1166 to also give warnings, as the array variable being populated by array_merge() is no longer an array.
Comments
Comment #1
gambaweb commentedthanks fixed