Log in

View Full Version : forum error (Call to a member function on a non-object)


halliday06
07-23-2008, 06:56 AM
i can view my home page ok... but as soon as i click on a forum i get this error:


Fatal error: Call to a member function on a non-object in /home/forcer/public_html/forums/includes/functions_forumdisplay.php on line 182


this is sudden, all i have done was add a plugin and changed a few style vars from within the template manager.

any ideas?

--------------- Added 1216800021 at 1216800021 ---------------

it appears the plugin was causing this because i disabled it and it worked.

does that mean there is an error in my php code?

Marco van Herwaarden
07-23-2008, 08:02 AM
Most likely.

halliday06
07-23-2008, 11:50 AM
i still get this error even with removing code

maybe its down to the hook i choose? (global_start)

the variable is in the header template