I have a install profile with all drupal core modules listed in it, if I try to install using this profile, I get:

Warning: Invalid argument supplied for foreach() in /includes/install.inc on line 645
Warning: array_merge() Argument #2 is not an array in /includes/install.inc on line 634
etc

Reason for warnings is that drupal_check_profile() is calling the _requirements hook in each .install file using module_invoke() and a .install file may not implement a _requirements hook.

CommentFileSizeAuthor
drupal_check_profile_reqs.patch786 bytesasimmonds
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Steven’s picture

Status: Needs review » Fixed

Committed to HEAD, thanks!

asimmonds’s picture

Status: Fixed » Reviewed & tested by the community

I can't find this fix in current HEAD

drumm’s picture

This does still apply for me.

drumm’s picture

Status: Reviewed & tested by the community » Fixed

Committed to HEAD.

Anonymous’s picture

Status: Fixed » Closed (fixed)