I'd say attach your BoardIndex.php as well ;)
Attached It To The First Post Spoogs...Thanks for your help ;D
Not entirely sure I can help but having the file attached make it easier to look at the code and not have to go searching for the mod to see what's what :P
sorry about that Spoogs ....I Did Disable The Board Viewers Mod For Right Now and went back to the forum and then back to the admin and Had No Errors... so its that mod but thank you for taking a look at it....Peace MaddSmokerz
Oh, that's a fairly bad mod there. It makes certain assumptions that it really, really shouldn't.
OK, how to fix, all in BoardIndex.php based on the above code.
$this_guests = $boards['viewers']['guests'];
$this_members = $boards['viewers']['members'];
$this_guests = !empty($boards['viewers']['guests']) ? $boards['viewers']['guests'] : 0;
$this_members = !empty($boards['viewers']['members']) ? $boards['viewers']['members'] : 0;
And this, this is very, very wrong for so many reasons.
if($boards['children'] !== array())
if (!empty($boards['children']) && is_array($boards['children']))
Make those two changes and it'll all be good.
Thank you Gruffen and Spoogs For Fixing This its working fine now and im getting no errors in the Admin.....Thanks MaddSmokerz 8) 8)