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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Pix_’s picture

Here's a quick patch fixing this issue :)