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

CommentFileSizeAuthor
#4 ajax_comments_module.patch537 bytesjcmarco

Comments

jaypan’s picture

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

Flying Drupalist’s picture

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?

jaypan’s picture

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.

jcmarco’s picture

Status: Active » Needs review
StatusFileSize
new537 bytes

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

neochief’s picture

Status: Needs review » Fixed

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

Status: Fixed » Closed (fixed)

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