Trying to run cron for indexing a local xapian database produced the following error msg:

# warning: Parameter 1 to node_invoke_nodeapi() expected to be a reference, value given in /home/xxx/public_html/drupal-test/includes/module.inc on line 462.
# warning: Invalid argument supplied for foreach() in /home/xxx/public_html/drupal-test/sites/all/modules/xapian/xapian.module on line 576.

Problem is easily patchable by properly using references as expected by the node_invoke_nodeapi function
in the xapian.module file.

Patch/fix: http://reseaut.com/drupal-test/xapian.module.patch

Comments

marvil07’s picture

Title: Local xapian db indexing fail in node_invoke_nodeapi() » Node indexing produces a warnings
Status: Active » Fixed
StatusFileSize
new710 bytes

Thanks for reporting it.

I actually solved it in a different way, since passing references on function calls is deprecated now AFAIK.

Here the patch I used.

It's already on upstream, on 6.x-2.x.

Status: Fixed » Closed (fixed)

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