Hello folks
I got the following error trying to export my theme sections.
Recoverable fatal error: Object of class stdClass could not be converted to string in omega_tools_build_info_file() (line 356 of /home/rbm/kla_tencor/sites/all/modules/omega_tools/omega_tools.module)..
The error is caused , because the i18n module store the followin configuration as object.
i18n_variable_language
stdClass Object
(
[language] => en
[name] => English
[native] => English
[direction] => 0
[enabled] => 1
[plurals] => 0
[formula] =>
[domain] =>
[prefix] =>
[weight] => 0
[javascript] =>
[provider] => locale-browser
)
Is necessary handle this kind of situation.
enzo
Comments
Comment #1
-enzo- commentedHello folks.
I did a small patch to handle object setting from omega theme.
This patch transform the object in an array like this:
Enjoy IT.
enzo
Comment #2
hkirsman commentedThis makes export work!
But how do I add more than one language to .info? Is it even possible?
Comment #3
gaele commentedYes, the patch fixes this.