Closed (fixed)
Project:
Heartbeat
Version:
6.x-4.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
22 Nov 2008 at 13:30 UTC
Updated:
14 Mar 2010 at 11:30 UTC
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
Comment #1
Stalski commentedI added some checks and it seems to be enough
stalski
Comment #2
Stalski commentedAfter 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
Comment #4
timl commentedCall 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
Comment #5
Stalski commentedI 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