1
Notice [PHP]: Undefined offset: 0 in file c:\www\rhcp\modules\newbb\class\forum.php line 359
359: return $_cachedForums[$cat][$perm_string];
360: }
Warning [PHP]: array_keys(): The first argument should be an array in file c:\www\rhcp\modules\newbb\blocks\newbb_block.php line 53
Warning [PHP]: implode(): Bad arguments. in file c:\www\rhcp\modules\newbb\blocks\newbb_block.php line 56
52: }
53: $valid_forums = array_keys($access_forums);
54: if (isset($allowed_forums) && count($allowed_forums) > 0) $valid_forums = array_intersect($allowed_forums, $valid_forums);
55:
56: $forum_criteria = ' AND t.forum_id IN (' . implode(',', $valid_forums) . ')';
57: unset($access_forums);
58: $approve_criteria = ' AND t.approved = 1 AND p.approved = 1';
if i want to add block "recent comments" i get error like this:
Fatal error: Call to a member function on a non-object in c:\www\rhcp\modules\system\blocks\system_blocks.php on line 337
336: $mid = $comments[$i]->getVar('com_modid');
337: $com['module'] = '<a href="'.XOOPS_URL.'/modules/'.$modules[$mid]->getVar('dirname').'/">'.$modules[$mid]->getVar('name').'</a>';
how can i put this in right?
and what it could be?