Closed (fixed)
Project:
Internationalization
Version:
7.x-1.x-dev
Component:
Taxonomy
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Oct 2011 at 11:25 UTC
Updated:
27 Nov 2011 at 13:19 UTC
Whenever I open the Forums page on my site the following message is displayed:
Warning: Invalid argument supplied for foreach() in i18n_forum_menu_local_tasks_alter() (Zeile 35 von /var/www/html/cm7/sites/all/modules/i18n/i18n_forum/i18n_forum.module).
Is this possibly an error in the Internationalization module?
Comments
Comment #1
troky commentedThis is actually Internationalization module bug caused by old core forum bug: #1003308: Forum module cannot decide if it wants 'taxonomy_forums' hardcoded in it leading to faulty functioning.
Try to change line 34 in i18n_forum.module
from:
to:
Comment #2
GStegemann commentedYes, that fixed it. Thanks.
Comment #3
jose reyero commentedAdded some checks for the case when the forum vocabulary is not properly set or there are no fields.