The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Fatal error: Call to a member function fetch_userinfo() on a non-object
Hi, My forum went off today (VB5.0.5). No any upgrade made, nothing changed... I just woke up with this message on my url
Fatal error: Call to a member function fetch_userinfo() on a non-object in /home/forum/public_html/core/vb/library/user.php on line 722 I have checked that line 722, and I realy dont see anything or havent been able to realize the problem here is the code from line 714 to 733 ***/ public function clearChannelPerms($userid) { unset($this->groupInTopic[$userid]); } public function updateEmailFloodTime() { $usercontext = vB::getCurrentSession()->fetch_userinfo(); if ($usercontext['userid']) { vB::getDbAssertor()->update('user', array("emailstamp" => vB::getRequest()->getTimeNow()), array("userid" => $usercontext['userid'])); vB_Cache::instance(vB_CACHE::CACHE_LARGE)->event(array('userChg_' . $usercontext['userid'])); } else { // Guest. Update the field for its session vB::getCurrentSession()->set('emailstamp', vB::getRequest()->getTimeNow()); vB::getCurrentSession()->save(); } } Thanks |
#2
|
|||
|
|||
Facing the same fatal error, anyone having a fix for this ?
|
#3
|
||||
|
||||
This thread is a year old, you need to start your own thread with all the relevant information.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|