Notice: Undefined index: forums in mothership_preprocess_forum_list() (line 16 of sites/forums/themes/mothership/mothership/functions/forum.php).
Warning: Invalid argument supplied for foreach() in mothership_preprocess_forum_list() (line 16 of sites/forums/themes/mothership/mothership/functions/forum.php).
Notice: Undefined index: tid in mothership_preprocess_forum_list() (line 65 of sites/forums/themes/mothership/mothership/functions/forum.php).

Line 16 is foreach ($variables['forums'] as $id => $forum) {

I guess that either this should not be called for advanced forums, or the function should check for presence of $variables['forums']

Comments

mraichelson’s picture

Version: 7.x-2.8 » 7.x-2.x-dev
Status: Active » Needs review
StatusFileSize
new944 bytes

Patch created against latest DEV version to help address this.

mraichelson’s picture

This could probably also get tagged as a duplicate or sibling of #1665298: Make Forum handling optional.

realityloop’s picture

Issue summary: View changes
Status: Needs review » Closed (duplicate)

fixed in #1665298