Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of [runtime function name](). 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. in /modules/fivestar/fivestar.module on line 1336
Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of [runtime function name](). 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. in /modules/fivestar/fivestar.module on line 1340
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | fivestar_callbyreference.patch | 848 bytes | quicksketch |
| #1 | fivestar.patch | 1.27 KB | Mark Theunissen |
Comments
Comment #1
Mark Theunissen commentedJust got this error too, it's got to do with the 3 new functions introduced in this version.
e.g.
Passing &$query by reference is causing the problem. Since it's not altered in fivestar_views_widget_handler(), I changed it to be pass-by-value in all the cases it's called.
See patch.
Comment #2
mgiffordthanks, seemed to work for me.
Comment #3
quicksketchThanks, the patch was a bit excessive as it removed referenced variables that weren't call-time references. I've applied the attached patch to CVS. Thanks!
Comment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #5
A_Screamer commentedAny chance of getting this patch integrated into the 5.x release for this one?
Comment #6
quicksketchThis is already integrated into both 6.x and 5.x. It'll be in the 1.12 release.
Comment #7
A_Screamer commentedHi quicksketch,
I only see version 1.11 on the download page. Where can I download version 1.12?
Thanks in advance...
Comment #8
quicksketch1.12 isn't out yet, but the bug has already been fixed. If you need to temporarily fix the problem you can download the development version http://drupal.org/node/192517 until 1.12 is released.
Comment #9
quicksketchMarked http://drupal.org/node/246038 as duplicate.
Comment #10
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #11
hariram_sharma commentedWarning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of [runtime function name](). 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 in /home/content/h/i/d/hidelhi/html/websites/mank/humannetwork/sites/all/modules/fivestar/fivestar.module on line 1336