Hi,

I encountered the following problem:
* created a particular content type
* mapped the type and fields to RDF classes and properties (using an own vocabulary)
* created a couple of nodes of that content type
* everything worked great: RDF is generated well, SPARQL endpoint works
* then, I tried editing an existing node that has RDF mappings and I stumbled upon a silent PHP failure:

PHP Fatal error: Unsupported operand types in /var/www/.../sites/all/modules/rdfx/rdfx.module on line 224, referer: http://.../node/2/edit?render=overlay

Any idea how I can fix it?

Thanks!

CommentFileSizeAuthor
#1 1159662_1_rdfx_array.patch453 bytesscor

Comments

scor’s picture

Status: Active » Needs review
StatusFileSize
new453 bytes

I suspect _rdfx_build_arc2_index_p_o() is not returning a boolean instead of an empty array(). Please try the this patch.

TudorGroza’s picture

The patched fixed the issue.
Thanks a lot!

scor’s picture

Status: Needs review » Closed (fixed)

Thanks for testing the patch. Committed: 9f715e6.