Closed (fixed)
Project:
Xapian integration
Version:
6.x-2.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
8 Apr 2011 at 13:54 UTC
Updated:
6 May 2011 at 14:21 UTC
Jump to comment: Most recent file
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
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 0001-Issue-1120962-Fixed-Node-indexing-produces-a-warning.patch | 710 bytes | marvil07 |
Comments
Comment #1
marvil07 commentedThanks 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.