Hi,
First of all, and please read this line, that i have implemented feeds (NOT API) and feeds image grabber (again NOT API) with another website and works perfect.
Two months have passed and on another website i have setup both with same settings that work on previous website. On feed import, it imports the feed items but errors appear with imagegrabber.
warning: array_change_key_case() [function.array-change-key-case]: The argument should be an array in /home/pxlworld/public_html/revistapresei/sites/all/modules/feeds_imagegrabber/feeds_imagegrabber.module on line 316.
The selected file sanatate300x250.jpg?width=300&height=250 could not be saved. Only files with the following extensions are allowed: png gif jpg jpeg.
warning: array_change_key_case() [function.array-change-key-case]: The argument should be an array in /home/pxlworld/public_html/revistapresei/sites/all/modules/feeds_imagegrabber/feeds_imagegrabber.module on line 316.
warning: array_change_key_case() [function.array-change-key-case]: The argument should be an array in /home/pxlworld/public_html/revistapresei/sites/all/modules/feeds_imagegrabber/feeds_imagegrabber.module on line 316.
warning: array_change_key_case() [function.array-change-key-case]: The argument should be an array in /home/pxlworld/public_html/revistapresei/sites/all/modules/feeds_imagegrabber/feeds_imagegrabber.module on line 316.
warning: array_change_key_case() [function.array-change-key-case]: The argument should be an array in /home/pxlworld/public_html/revistapresei/sites/all/modules/feeds_imagegrabber/feeds_imagegrabber.module on line 316.
Created 5 Feed Item nodes.
Please help
Comments
Comment #1
publicmind CreditAttribution: publicmind commentedHi,
These warnings were happening when drupal_http_request() was failing to download the desired picture (due to some errors, might be timeout errors, or others) and I wasn't checking the incoming object key to check if it exists or not. It has now been fixed in dev.
Thanks,