Closed (fixed)
Project:
Resource Description Framework (RDF)
Version:
6.x-1.x-dev
Component:
Data import
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
13 Aug 2008 at 03:16 UTC
Updated:
16 Mar 2009 at 06:40 UTC
unable to import get this error
warning: Invalid argument supplied for foreach() in /home/vegthrea/public_html/writ8/sites/all/modules/rdf/rdf.api.inc on line 363.
Comments
Comment #1
student297 commentedHI, even i got the same error, how to fix this one, plz help me.
Comment #2
student297 commentedanybody is there?plz help me, i am stuck at the above error, anybody know why i am getting this error
Comment #3
jmiccolis commentedHi,
Could either of you please provide more information about how to reproduce this error? Step-by-step reproduction instructions would be the most useful. What page are you on when it happens? What action triggers the error?
Comment #4
Arto commentedI've tested importing a variety of data sources with the current development snapshot of the module, and I got the aforementioned error whenever I tried to specify an incorrect RDF serialization format. Hence I've now improved error handling in the relevant code so that a more meaningful error message will be output.
More than likely many people who have experienced this problem have simply had RDF/JSON (the default) selected as the format to import with, with the data source in actuality having been in e.g. RDF/XML format. If there are further problems than just this, we will revisit the issue.