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.
Hi there,
This error pops up when i run a drush make + drush site install with commerce_extra_panes as profile dependency
WD php: Warning: Invalid argument supplied for foreach() in commerce_extra_panes_install() (line 48 of /Users/Pix/Development/agavee/mondevert/ecommerce/sites/all/modules/contrib/commerce_extra_panes/commerce_extra_panes.install).
On line 48 we should not assume that field_info_field('body') will return something. In my case i do not have a body field and i get this error.
Comment | File | Size | Author |
---|---|---|---|
#1 | commerce_extra_panes-check_body_exsistence-2111613.patch | 1.05 KB | Pix_ |
Comments
Comment #1
Pix_ CreditAttribution: Pix_ commentedHere's a quick patch fixing this issue :)