Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
I'm using feeds and the youtube feed module (feeds_youtube 7.x-2.0-beta1) to try and import a youtube feed. However, I'm getting this error:
Notice: Undefined variable: file en file_feeds_set_target() .... on line 85 of feeds/mappers/file.inc...
The result is that the import batch process completes, the nodes are created but the Media Field that is mapped to the video's URL does not get populated.
Any idea why this is occuring?
Thank you!
Comments
Comment #1
Sol Roth CreditAttribution: Sol Roth commentedI'm having the same error issue trying to import images
Comment #2
gtothab CreditAttribution: gtothab commentedThis post appears to describe what the problem is in my case. Unfortunately, no solution is offered.
http://drupal.org/node/1482530#comment-7135756
Comment #3
gtothab CreditAttribution: gtothab commentedComment #4
Summit CreditAttribution: Summit commentedHi, may be to do with http://drupal.org/node/1612246#comment-7234456 ?
greetings, Martijn
Comment #5
twistor CreditAttribution: twistor commentedJust to point out, the "Notice: Undefined variable: file" is not what's causing the problem. It will be fixed in #1171114: Allow user to choose the method of file handling..
Could you provide your importer config and a sample of your feed?
Comment #6
briangelhaus CreditAttribution: briangelhaus commentedI had this error when using feeds to import nodes with images and files via .CSV
In my CSV under my images column I only had filename.png. It should be public://filename.png
public:// searches the sites/default/files folder by default
if you have a specific folder you want it to go into then use public://folder/filename.png
Comment #7
twistor CreditAttribution: twistor commented#1171114: Allow user to choose the method of file handling.