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

student297’s picture

HI, even i got the same error, how to fix this one, plz help me.

student297’s picture

anybody is there?plz help me, i am stuck at the above error, anybody know why i am getting this error

jmiccolis’s picture

Status: Active » Postponed (maintainer needs more info)

Hi,

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?

Arto’s picture

Title: Trouble importing » Trouble importing RDF data
Component: Actions » Data import
Assigned: Unassigned » Arto
Status: Postponed (maintainer needs more info) » Fixed

I'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.

Status: Fixed » Closed (fixed)

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