Add bulk products drupal commerce: Warning: Invalid argument supplied for foreach() en form_type_checkboxes_value() line 2337 form.inc
The problem was because I am creating too many products at once. Not supported by the database or the hosting. It colapses and the foreach sends the warning. The result was a white screen.