There is a small bug in nodewords.module inside nodewords_nodeapi() function. This bug raises warnings during search indexing. Variable $tag_options['id'] should be numeric or associative array. Its value is used in node_load() function as first parameter. Key of this array should be 'nid'.

CommentFileSizeAuthor
#1 tag_options_nid.patch426 byteskndr

Comments

kndr’s picture

StatusFileSize
new426 bytes

Patch

avpaderno’s picture

Version: 6.x-1.x-dev » 6.x-1.12-beta2
Status: Needs review » Fixed

The correct code is

    case 'update index':
      $output_tags = array();
      $tag_options = array(
        'type' => NODEWORDS_TYPE_NODE,
        'id' => $node->nid,
        'output' => 'update index',
      );

I changed the code, and committed it in CVS. Thanks for your report.

Status: Fixed » Closed (fixed)

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