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

CommentFileSizeAuthor
#2 mysite_1.patch3.55 KBFrando
#1 mysite_0.patch1.69 KBFrando

Comments

Frando’s picture

Status: Active » Reviewed & tested by the community
StatusFileSize
new1.69 KB

Spotted the same problem.
Here's a patch against HEAD that fixes it.
It's so simple that I dare to set it to RTBC ;)

Frando’s picture

Title: after install problem » Fix "Call-time by reference deprecated" notices
StatusFileSize
new3.55 KB

Spotted a few more ones. New patch attached.

agentrickard’s picture

Frando-

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.

agentrickard’s picture

Status: Reviewed & tested by the community » Fixed

Verified 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.

agentrickard’s picture

Status: Fixed » Closed (fixed)

Committed to HEAD.