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 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.
Comment | File | Size | Author |
---|---|---|---|
drupal_check_profile_reqs.patch | 786 bytes | asimmonds | |
Comments
Comment #1
Steven CreditAttribution: Steven commentedCommitted to HEAD, thanks!
Comment #2
asimmonds CreditAttribution: asimmonds commentedI can't find this fix in current HEAD
Comment #3
drummThis does still apply for me.
Comment #4
drummCommitted to HEAD.
Comment #5
(not verified) CreditAttribution: commented