Error while trying to enable the module

kvmnext - May 23, 2008 - 20:26
Project:Calais
Version:5.x-1.4
Component:Code
Category:bug report
Priority:critical
Assigned:febbraro
Status:closed
Description

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

#1

bacchus101 - May 24, 2008 - 15:15

I am using D 6.2

Same error output. Currently looking for module conflicts.

#2

febbraro - May 27, 2008 - 17:03
Assigned to:Anonymous» 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.

#3

Anonymous (not verified) - June 10, 2008 - 17:12
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.