Config : windows XP , easyPHP 1.8, mysql 4.1.9, php 4.3.10.
After install some redondants error when i go to my drupal
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 [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. However, future versions may not support this any longer. in f:\program files\easyphp1-8\www\drupal\modules\mysite\plugins\types\droplet.inc on line 83
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 [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. However, future versions may not support this any longer. in f:\program files\easyphp1-8\www\drupal\modules\mysite\plugins\types\droplet.inc on line 339
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 file_move(). 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 f:\program files\easyphp1-8\www\drupal\modules\mysite\plugins\types\feed.inc on line 658
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | mysite_1.patch | 3.55 KB | Frando |
| #1 | mysite_0.patch | 1.69 KB | Frando |
Comments
Comment #1
Frando commentedSpotted the same problem.
Here's a patch against HEAD that fixes it.
It's so simple that I dare to set it to RTBC ;)
Comment #2
Frando commentedSpotted a few more ones. New patch attached.
Comment #3
agentrickardFrando-
Thanks. I'm just getting the hang of passing by reference.
See http://us.php.net/language.references.pass for the explanation of the error.
Comment #4
agentrickardVerified and fixed. Thanks for the excellent patch.
It's funny, I'm using PHP 5.1.6 and it doesn't throw that error message.
Fixed on my dev box. Will be committted to HEAD later today.
Anyone else testing beta3 should apply this patch.
Comment #5
agentrickardCommitted to HEAD.