PHP Fatal error: Call to undefined function taxonomy_nodeapi() in luceneapi_node.module on line 475

When using Lucene API search module and core taxonomy module is not activated I receive this error when trying to search content.

Part of code:

  // fetch comments, taxonomy terms for snippet
  if ($add_comments) {
    $node->body .= comment_nodeapi($node, 'update index');
  }
  $node->body .= taxonomy_nodeapi($node, 'update index');

For the comment module this is done in luceneapi_node.module on line 452.
This should also be done for the taxonomy module.

Comments

cpliakas’s picture

Issue tags: +6.x-2.5

This is a big oversight on my part, and thanks for pointing it out. Flagging for the 6.x-2.5 release.

Thanks,
Chris

sense-design’s picture

StatusFileSize
new1.02 KB

Here the patch to this issue

sense-design’s picture

StatusFileSize
new1.02 KB

Removed spelling mistake in patch file

cpliakas’s picture

Status: Active » Reviewed & tested by the community

Patch looks good.

cpliakas’s picture

Status: Reviewed & tested by the community » Closed (won't fix)