We have Feeds set up with Image Grabber to create nodes and pull images from some RSS feeds. We are getting many of these errors:

Undefined index: cardinality in feeds_imagegrabber_scrape_images() (line 555 of feeds_imagegrabber.module)

Nodes are being created, but I'm wondering if anyone has any ideas about this error?

Thanks in advance for anyone's help and guidance.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

brianbarker’s picture

I was getting these same messages. It turns out there are two lines of code where the cardinality value is being accessed from a $settings variable while it should be the $options variable. Simple typo. I made my first drupal patch, hope it works!

brianbarker’s picture

Status: Active » Patch (to be ported)

I probably should change the status on this I guess?

rooby’s picture

Status: Patch (to be ported) » Fixed

Thanks for the patch.

It has been committed to the dev version and will be available there within the next 12 hours.

A new release will be made once more of the issues in the queue have been reviewed.

http://drupalcode.org/project/feeds_imagegrabber.git/commit/3bc3d64

As for it being your first patch, it was properly made, named, etc.

The issue status should have been "Needs review", patch to be ported would be if another version (like the D6 version) now needed this same fix, the patch would have to be ported to work for the drupal 6 version (not necessary in this case).

For more information on status see https://drupal.org/node/156119

Keep up the contributions :)

Status: Fixed » Closed (fixed)

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