Fatal error: Call to undefined function rdf_schema_get_entities() in /myserver/mydrupalsite/sites/all/modules/rdf/contrib/rdf_schema/rdf_schema.module on line 127

When I roll back to ALPHA1, this problem goes away. Just thought I'd register this error here. I'll use ALPHA1 in the meantime until I can figure out WSOD with ALPHA2.

Comments

davidseth’s picture

I am getting the same error. I just commented out the call to rdf_schema_get_entities() to make it work. Terrible hack I know but I have had no problems with it. Seems to run much better than any previous release. Even with my bad hack!

SamRose’s picture

well, not to point out the obvious, but it must be a dead function, or incomplete code at this time.

It's not totally clear exactly what rdf_schema_get_entities() is intended to do. When I have chance, I'll look and see if it is part of the previous release.

shelleyp’s picture

Priority: Normal » Critical

Any update that breaks Drupal is a critical bug. Updated priority.

Arto’s picture

Assigned: Unassigned » Arto
Status: Active » Fixed

I should introduce one of these on purpose every now and then - good to see that there are interested people trying this stuff out ;-)

The problem was in the load order of the RDF API module vis-a-vis RDF Schema, i.e. the culprit function had not yet been loaded at the point when it was first needed (in rdf_init()).

Fixed in changeset [121208] and included in the 6.x-1.0-alpha3 snapshot.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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

bdgoodman’s picture

Version: 6.x-1.0-alpha2 » 6.x-1.0-alpha3
Status: Closed (fixed) » Active

I have 6.x-1.0-alpha3 installed and see the same error.

--- Editing comment ... should have done more trouble shooting prior to reopening.

It looks like this error is related to File Framework which uses the RDF module.

Specifically, this error is occurring if you attempt to preview a comment on a node. Turning off the Converters portion of File Framework resolves the issue.

Arto’s picture

Project: Resource Description Framework (RDF) » File Framework
Version: 6.x-1.0-alpha3 » 6.x-1.x-dev

Miglius, can you have a look at this as soon as possible, please.

Arto’s picture

Project: File Framework » Resource Description Framework (RDF)
Version: 6.x-1.x-dev » 6.x-1.0-alpha3
Component: Code » Interoperability
Priority: Critical » Normal
Status: Active » Postponed (maintainer needs more info)

Moving this back to the RDF issue queue as Brian already created a separate issue #325163: Comment preview results in Fatal error: Call to undefined function rdf_schema_get_entities() for File Framework. I'm also downgrading the priority from 'critical' to 'normal' on my end of things until it's confirmed whether the root cause is in this module or in File Framework.

Arto’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)
Issue tags: +File Framework, +rdf_schema_get_entities