Posted by Flying Drupalist on April 16, 2009 at 2:16am
5 followers
| 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
Found the same error and following the right Hakulicious observation fixed with this patch:
#5
Thanks for the patch, but it doesn't required anymore since latest dev (21 Apr).
#6
Automatically closed -- issue fixed for 2 weeks with no activity.