PDA

View Full Version : PHP Error


eddied316
04-16-2011, 11:43 AM
I'm getting this error on my site, and I'm not sure what it means or what I have to do, to get it resolved.

Weird thing is, it doesnt do it all the time. I could be on the site for a while, then boom. There it is..


Fatal error: Call to undefined method stdClass::set() in /home3/XXX/public_html/XXX/includes/functions.php on line 7320

I've found line 7320 and it seems to be:


$vbulletin->session->set('inforum', (!empty($foruminfo['forumid']) ? $foruminfo['forumid'] : 0));

I've tried removing it completely - to no avail.

Lynne
04-16-2011, 04:35 PM
Try disabling your modifications/plugins and see if you still have this problem.
Note: To temporarily disable the plugin system, edit includes/config.php and add this line right under <?php

define('DISABLE_HOOKS', true);