Hi,

I updated my d6 to 6.3, and cck to 6.x-2.0-rc4.

Now, I get de Fatal error: Call to undefined function content_taxonomy_content_is_empty() in .../sites/all/modules/cck/content.module on line 803

I guess that it come from content_taxonomy but I am not sure.

Thank you for any help.

Comments

chipway’s picture

Hi, Sorry,

I forgot to say, that this message is displayed when I try to save a Content-Type containing a content_taxonomy field.

And I use Content Taxonomy 6.x-1.x-dev (2008-May-31)

Thanks

Moonshine’s picture

I'm seeing the same thing w/ 6.3, latest CCK dev, and a Taxonomy Tree output. That function is one of the new CCK hooks:

http://drupal.org/node/191796#191796-misc

However I don't believe CCK Taxonomy has any use for the new AHAH features with Tree output? It's not like you'd want a button to ask for another Tree for a 2nd entry. :) Looks like it has to be defined and return something regardless though.

Moving it to critical as it is a fatal error...

Moonshine’s picture

Priority: Normal » Critical
mh86’s picture

seems like there have been changes to the new CCK RC. I have to check this and make the changes in Content Taxonomy, planing to do this the upcoming week.

mh86’s picture

Assigned: Unassigned » mh86
mh86’s picture

Status: Active » Fixed

just added the missing hook_content_is_empty. this fixes the fatal error.
more on d6 development next week :)

Anonymous’s picture

Status: Fixed » Closed (fixed)

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

vomitHatSteve’s picture

This issue still appears to exist in version 6.x-2.6 (on line 906).

I added an "if (function_exists($function))" switch around the for loop, and that seemed to fix it.