Drupal was usind the internationalization module (aka. i18n) and there have been some problems with one of the *lang*.po so I deleted one language. Then it displayed:
warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /path/sites/all/modules/i18n/i18n.module on line 442.
Line 442 of the module:
if (array_key_exists($maybelang, $languages)){
I've removed the module and tried to install again, but it won't work: to disable it I need to click on 'submit', but it's sending to a deleted language path. (site.com/EN/modules/list/confirm, where EN doesn't exists)
Any suggestions?
2007-06-19
00:38:08
·
3 answers
·
asked by
psycho_x52
2
in
Computers & Internet
➔ Programming & Design
If delete the language directory and reupload it, then it displays the same error
warning: array_key_exists() [function.array-key-exists]:
The second argument should be either
an array or an object in /path/sites/all/modules/i18n/i... on line 442.
2007-06-19
01:01:03 ·
update #1