In any node, when I Click "create translation", I'll get this message:

Fatal error: Cannot use object of type stdClass as array in D:\Website\drupal\modules\localizer\localizer.module on line 1215

Comments

sun’s picture

Status: Active » Postponed (maintainer needs more info)

Please ensure that the very first line of localizer.module states exactly this:

// $Id: localizer.module,v 1.2.2.50 2007/04/04 23:19:57 sun Exp $

If it does not, please update localizer to the latest development snapshot.

tokimeki’s picture

Yes, I sure that I alreay update localizer to the latest development snapshot.
But it still show the error message.

sun’s picture

Assigned: Unassigned » sun
Priority: Normal » Critical

Could you please post a list of other contrib modules you have installed (and enabled)?

tokimeki’s picture

OK, I install and enable those modules (other contrib modules):
FCKeditor
IMCE

tokimeki’s picture

Version: 5.x-1.x-dev » 5.x-1.8

Today I download the new version (5.X-1.8) of Localizer.
I create a new database and new directory of drupal (decompress from drupal-5.1.zip).
After installed drupal, I decompress localizer-patched-files-5.0-1.8.tar.gz and copy the files to drupal.
Then I enable Localizer and Forum modules.

When I create a forum topic and translation it (click "create translation"), is shows the message:

Fatal error: Cannot use object of type stdClass as array in D:\Website\drupal\modules\localizer\localizer.module on line 1215

I use Windows XP SP2, Apache 2.2.3, PHP 5.2.1
Please fix the bug, thank you.

Roberto Gerola’s picture

I'm sorry.
But i see only now that this version has been released.

It has been released by sun, but I was not informed
and it has been released without any authorization.
It wasn't yet ready for release.

I am really disappointed about what has happened.

Now I have again the full and unique control of this
project.

I'll prepare a new stable release for the next days to fix
this situation.

Thanks for your patience.