I have been receiving several errors related to deprecated call in code of some drupal modules. I contacted the module developer and a new version of the module was release with no errors.

The error seems related to PHP5 and beyond
A similar error is shown related to node import too.

Error:
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 ~/main/sites/all/modules/node_import/node_import.module on line 616

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 ~/main/sites/all/modules/node_import/node_import.module on line 659

ps. link to other module bug report:
http://drupal.org/node/230513

CommentFileSizeAuthor
#3 pass-by-ref.patch1.12 KBjohnalbin

Comments

ultimike’s picture

subscribe

giggler’s picture

same here, get the message on install...

subscribe

johnalbin’s picture

Title: Deprecated Call in PHP 5 » Deprecated Call in PHP
Status: Active » Needs review
StatusFileSize
new1.12 KB

Pretty easy patch.

And, btw, this isn't PHP 5 related. Call-time pass-by-reference was deprecated in PHP 4.0.

johnalbin’s picture

Title: Deprecated Call in PHP » Call-time pass-by-reference is deprecated
Robrecht Jacques’s picture

Status: Needs review » Fixed

Fixed. Will be included in next release of node_import (5.x-1.5). Thanks!

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.