The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Non-object?
What am I doing wrong here? I required ./global.php... I thought that initialized all the classes I needed automatically?
PHP Code:
(not the whole script, just showing where I get the problem) Fatal error: Call to a member function query_read() on a non-object in /home/blackhat/public_html/forum/referral.php on line 59 |
#2
|
|||
|
|||
Just had this same one happen a little while ago - you need a "global $vbulletin;" in any function where you use it.
|
#3
|
|||
|
|||
Well that's annoying. Okay, thanks.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|