I see this error any time I add an item to the cart without uploading a file. The error will be repeated for each item in the cart w/o an attached file. The attribute file field is not a required field and it is not an option for some items but even those items will cause this error to be displayed. This error displays regardless of theme.
warning: Invalid argument supplied for foreach() in /home/content/73/8812273/html/store/sites/all/modules/uc_attribute_files/uc_attribute_files.module on line 229.
Drupal: 6.24
Ubercart: 6.x-2.7+97-dev
User Files: 6.x-1.0-beta6
UC Attribute Files: 6.x-1.0-alpha1
Comments
Comment #1
scottbaetz commentedI see this error - still ..
relates to this element..
function uc_attribute_files_product_description_alter
Comment #2
creativemediamavericks commentedDid you ever find a solution for this error? I am getting the same error on every page when logged in ad Administrator. thanks
Comment #3
scottbaetz commented@creativemediamavericks
What we found is that we can only use ONE file upload attribute per product. The use of multiple attributes with File Upload caused this issue.
-- Scott Baetz
PS. Side note, we are working to create a MULTIPLE file upload