If you install this version without "locale" on, you will get an error message about node.inc, line 27 ("locale_language_list" function not defined). I think this is due to locale not enabled and line 27 does not check if locale is on before calling the function. Below if my fix (wrapped the call around a if check statement.

if (module_exists('locale')) {
$lang_codes = array('' => t('Neutral')) + locale_language_list('name');
}

Comments

seworthi’s picture

Priority: Normal » Critical
nancydru’s picture

Status: Active » Fixed

Your fix was close, but not quite there. Thanks.

chadd’s picture

Status: Fixed » Active

i just downloaded and upgraded to 1.7 and i'm getting this same error:

Fatal error: Call to undefined function locale_language_list() in node.inc on line 27

how should i fix if the OP fix was "not quite there"?

nancydru’s picture

Status: Active » Fixed

By downloading the -dev version, where all fixes that are since the last release are found.

Status: Fixed » Closed (fixed)

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