Fatal error: Call to undefined function locale_language_list() in /home/webadmin/html/sites/all/modules/heartbeat/heartbeat.module on line 126

I'm getting this error when trying to install the module on a fresh site with no other modules. If it's a true dependency it should be noted. Thanks. *goes away after I install locale.

Comments

Stalski’s picture

Assigned: Unassigned » Stalski
Status: Active » Needs review

I added some checks and it seems to be enough
stalski

Stalski’s picture

Status: Needs review » Fixed

After a lot of testing on multilingual site, and it was a PITA as always. The reason for this could be I am living in Belgium with the dutch, french and german. Not to speak of all the dialects ...
That said, I am pretty sure this issue is handled well.
Grtz

Status: Fixed » Closed (fixed)

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

timl’s picture

Version: 6.x-2.x-dev » 6.x-4.x-dev

Call to undefined function locale_language_list() in /sites/all/modules/heartbeat/includes/heartbeatactivity.inc on line 187

have you removed any checks?
I'm using the dev version 6.x-4.x-dev

Stalski’s picture

I fixed this. Another issue broke this setting.
Languages are handled a little more advanced now. When a language is available on the node, only one language will be saved. But the locale check for if it didn't was not there, so i made a fallback to have the old behavior as well as soon as no language is available.

Thx for pointing this out. See http://drupal.org/cvs?commit=341306 for the fix