Hi, Im getting the following warning while i am trying to enable the Calais module:

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/opencalais/calais_tagmods.module on line 64

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/opencalais/calais_tagmods.module on line 65

Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of module_invoke_all(). 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/opencalais/calais.module on line 237

Could some one please help me getting rid of this error please.

Im using
D5.7
PHP 5.x

Comments

bacchus101’s picture

I am using D 6.2

Same error output. Currently looking for module conflicts.

febbraro’s picture

Assigned: Unassigned » febbraro
Status: Active » Fixed

Hey, sorry about that. It was a mistake on my part.

module_invoke_all('calais_preprocess', $node, &$keywords)

should really be

module_invoke_all('calais_preprocess', $node, $keywords)

The function declaration specifies if it is pass by reference or not. Fixed in D5 and D6 versions. New releases will be out soon.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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