The array_flip() in feeds_get_importer_id() complains if any of the values in the array returned by _feeds_importer_digest() are null. This can be fixed by checking if a value is set and if not explicitly setting the value to an empty string.

Patch attached.

CommentFileSizeAuthor
feeds.patch717 byteselliotttf

Comments

alex_b’s picture

Title: PHP Warning: Warning: array_flip(): Can only flip STRING and INTEGER values! » Avoid array_flip() on non scalars
Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.