If you have forum disabled, you get this message:

Fatal error: Unknown function: _forum_get_vid() in /home/cb/htdocs/sites/corporateblogging.bryght.com/modules/taxonomy_theme/taxonomy_theme.module on line 92

You need to wrap the check for _forum_get_vid() with a call to module_exist (http://drupaldocs.org/api/head/function/module_exist).

Comments

profix898’s picture

Status: Active » Fixed

Seems like I introduced this bug with my latest update. Use
$forum_vid = variable_get('forum_nav_vocabulary', '');
instead of
$forum_vid = _forum_get_vid();
since all underscore functions should not be used in other modules.

Fix for all versions (4.6, 4.7 and HEAD) committed. It will be available shortly.
Thanks for reporting :)

Anonymous’s picture

Status: Fixed » Closed (fixed)