Closed (duplicate)
Project:
Inline Ajax Search
Version:
6.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Jan 2011 at 13:34 UTC
Updated:
30 Mar 2011 at 20:47 UTC
Hi:
I am using a vanilla version of drupal 6.19/prosepoint .36/.37 and 6.x-3.x-dev of inline ajax search and I am getting this warning:
•warning: Parameter 1 to comment_nodeapi() expected to be a reference, value given in C:\xampp\htdocs\pp036job\includes\module.inc on line 462.
•warning: Parameter 1 to comment_nodeapi() expected to be a reference, value given in C:\xampp\htdocs\pp036job\includes\module.inc on line 462.
Posted by drasgardian says, to take out '&' of the comment module
function comment_nodeapi(&$node, $op, $arg = 0) {
I am not sure if this is a recommended fix or not? Please advise.
Ryan
Comments
Comment #1
vikom commentedI have the same issue, subscribing.
Comment #2
blackdog commentedThis is a core bug, and the issue is here: #587568: Parameter 1 to comment_nodeapi() expected to be a reference module.inc, line 450 (php 5.3 compatibility).