I am getting the following error when trying to run cron to submit products:

warning: Invalid argument supplied for foreach() in /home/villacol/public_html/sites/all/modules/googlebase/includes/handlers/googlebase_handler_field_text.inc on line 30.

I searched issues and Google for the following text string:

warning: Invalid argument supplied for foreach() sites/all/modules/googlebase/includes/handlers/googlebase_handler_field_text.inc on line 30

and did multiple additional searches by breaking the above query into smaller pieces and couldn't find a single reference to this error.

Any help would be greatly appreciated,

Thanks in advance!

Comments

bstrange’s picture

As an additional piece of information, I am trying to submit Ubercart Product content types.

longwave’s picture

Status: Active » Closed (cannot reproduce)

Cannot reproduce this in -dev. If this is still an issue, please try again with the latest -dev version, and reopen this issue if it still occurs.

hanoii’s picture

Status: Closed (cannot reproduce) » Needs review
StatusFileSize
new671 bytes

Also getting this and was able to debug, for now subscribing, soon submit the reason and possible a patch

Basically this is happening with a null value. Why would a null value be there, not sure. One possibility is a field added to a content type , but older content won't have any data for it yet.

Attached is a patch for the text handler, but honestly, this should be made on all handlers.