![]() |
Help! :(
Fatal error: Call to a member function on a non-object in /home/public_html/forums/online.php on line 128
Any Ideas ? Actually I have found out exactly when it does this. If a member is viewing a profile anyone else trying to see "who's Online" gets that error any idea what could be wrong here is lines 126-134 of online.php case 'getinfo': $userid = explode('userid=', $userinfo[location]); $user = $DB_site->query_first("SELECT username FROM user WHERE userid = ".intval($userid[1])); if ($user[username]) { $userinfo[where] = "Viewing Profile of <a href=\"member.php?s=$session[sessionhash]&action=getinfo&userid=$user[userid]\">$user[username]</a>"; } else { $userinfo[where] = "Viewing Profile of a Forum Member"; } break; |
under this line:
PHP Code:
PHP Code:
g-force2k2 |
thank you thank you thank you that did the trick :)
|
All times are GMT. The time now is 07:12 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|