I just replaced upgraded from 1.5 to 1.6. When trying to refresh one of my feeds, I got the following. This may or may not have meaning:

warning: Invalid argument supplied for foreach() in /var/www/html/sites/all/modules/feedapi/feedapi.module on line 1198.

Comments

stevenovy’s picture

Seeing something similar here - warning: Invalid argument supplied for foreach() in E:\websites\sites\all\modules\webform\webform.module on line 495. This is coming after we've updated to the latest dev (6.x-1.x-dev April 8). After the update, the URL fields in each of our feeds went blank. Even after updating the URL fields and saving (this is when we see the error message above, the feeds are still not updating.

fumbling’s picture

Thanks for the follow-up. We've reverted to 1.5 for now until we get our heads around what's happening.

alex_b’s picture

#1: Please see whether #426702: Update fails with errors addresses your issue. 1.x-dev hook_update() is currently broken.

#2: Looks like $items variable is not an array in line 1198. Looking at the code I think this problem persists in 1.x-dev

stevenovy’s picture

We got out of the devs and rolled back to 1.6, which got our feeds working again (although with an entirely different error message).