I get this error when activating the Image Import module on the Module page in Drupal 6.0 RC1.

.../admin/build/modules/list/confirm shows:
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 taxonomy_form_alter(). 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 .../modules/image/contrib/image_import/image_import.module on line 71

CommentFileSizeAuthor
#1 image_import.module_207550.patch740 bytestravismiller

Comments

travismiller’s picture

Status: Active » Needs review
StatusFileSize
new740 bytes

This patch removes the warning.

In current versions of PHP, reference notation should be in the function definition, not the function call.
http://us.php.net/manual/en/language.references.pass.php

paddy_deburca’s picture

+1 for this patch.

I encountered the same issue with Drupal 6.0 RC2 (probable the same version of the image module).

I updated the call to the function, and the problem was resolved.

Paddy.

LM23’s picture

Thanks,
and i like to add, that you need to remove a "&" at around line 71 in this mentioned file.

drewish’s picture

Status: Needs review » Fixed

thanks, committed to HEAD.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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