When I search my site with the search module it gives the following warning:
warning: Parameter 1 to comment_nodeapi() expected to be a reference, value given in C:\wamp\www\drupal-6.15\includes\module.inc on line 462.
This message comes up once for each of the results displayed (ex. if the search displays 5 results that exact error message, with no variation, will be displayed 5 times). The results are all displaying correctly, its just there is a big red box of warnings at the top of the results page. How can I fix this?
I have checked line 462 of module.inc but can't seem to understand the problem. I have also searched but have not come across an issue which resolves this particular error message.
Comments
Comment #1
eftho CreditAttribution: eftho commentedJust found another node discussing the same issue.
Comment #2
francisconi.org CreditAttribution: francisconi.org commentedI solved simply by replacing in /modules/comment/comment.module
function comment_nodeapi(&$node, $op, $arg = 0) {
by:
function comment_nodeapi($node, $op, $arg = 0) {
which is what Mr. drasgardian proposed that the application of the patch did not work and node_search_php53_fix.patch spoiling me
Comment #3
superxain CreditAttribution: superxain commentedI found the problem with 6.19, with faceted search module installed.
Comment #4
botrisFaceted search problem is mentioned (not yet fixed) here: http://drupal.org/node/913558
Comment #5
markivbagav CreditAttribution: markivbagav commentedYeah .. its really working... nice...
thanks .