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
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | ajax_comments_module.patch | 537 bytes | jcmarco |
Comments
Comment #1
jaypanI'm getting a similar error:
Warning: Call-time pass-by-reference has been deprecated in ...\ajax_comments\ajax_comments.module on line 155
Comment #2
Flying Drupalist commentedI think this is because of php 5.1. Once I upgraded to 5.2 the error went away. What php version are you using?
Comment #3
jaypan5.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.
Comment #4
jcmarco commentedFound the same error and following the right Hakulicious observation fixed with this patch:
Comment #5
neochief commentedThanks for the patch, but it doesn't required anymore since latest dev (21 Apr).