Hi,

i've upgraded Drupal to 5.2. Upgrade went fine without errors. However, when i install internationalisation and i activate translatable_text i get the following error twice on top of every page:

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 (her i removed the path for obvious reasons)\drupal\modules\i18n\experimental\ttext.module on line 148

When i disable the translatable_text, the error is gone.

Regards,

Thomas L.

Comments

jmlane’s picture

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 /.../sites/all/modules/i18n/experimental/ttext.module on line 148

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 /.../sites/all/modules/i18n/experimental/ttext.module on line 148

Exact same issue here.

Running Drupal 5.2 with i18n 5.x-2.1.

Any idea where is error is coming from? Is there a patch or a simple fix?

jmlane’s picture

Disabling Translatable Text 5.x-2.1 fixes the problem.

I checked HEAD, and the ttext.module seems to be out of experimental, so I am assuming updating to latest development of i18n would fix this problem.

Can someone confirm this before I close this issue?

Jose Reyero’s picture

Status: Active » Fixed

For the HEAD version (Drupal 6) we'll have to wait for CCK upgrade, so I dont know what will happen with this module.

Fixed this issue anyway for D5, thanks.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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