Project:AJAX Comments
Version:6.x-1.x-dev
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

Hello, I've never seen this before, can someone elucidate? Thanks.

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of drupal_rebuild_form(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /ebs1/www/html/sites/all/modules/ajax_comments/ajax_comments.module on line 155

Comments

#1

I'm getting a similar error:
Warning: Call-time pass-by-reference has been deprecated in ...\ajax_comments\ajax_comments.module on line 155

#2

I think this is because of php 5.1. Once I upgraded to 5.2 the error went away. What php version are you using?

#3

5.2.

The problem is because of the '&' in front of the variable being called in the function. That needs to be put in the function definition, not the function call itself.

#4

Status:active» needs review

Found the same error and following the right Hakulicious observation fixed with this patch:

AttachmentSize
ajax_comments_module.patch 537 bytes

#5

Status:needs review» fixed

Thanks for the patch, but it doesn't required anymore since latest dev (21 Apr).

#6

Status:fixed» closed (fixed)

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