PDA

View Full Version : strange bug


feras
12-29-2005, 06:49 PM
ok guys, I know php very good but not too strong on vbulletin knowledge.
Does anyone know what would cause an error like this:

Fatal error: Call to a member function on a non-object in (I_REMOVED_PATH_FOR_SECURITY)/forums/includes/functions.php on line 4240

Any help is appreciated

filburt1
12-29-2005, 07:41 PM
Add

global $vbulletin;

or

global $DB_site;

...to the top of your function for 3.5 and 3.0, respectively, as the millions of other threads with the exact same error message state.