The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Call to a member function error
The error message I'm seeing is:
Fatal error: Call to a member function query_write() on a non-object in /home/usenetma/public_html/includes/functions_nntp.php on line 560 I'm working on updating the NNTP hack but I'm not quite sure whats up right now. PHP Code:
Can anybody offer some tips on what this error means? |
#2
|
||||
|
||||
Well, the error means that $db isn't an object, which means that $db isn't valid in this functions, which means you forgot to global it
|
#3
|
||||
|
||||
"global $DB_site" - this is the old db class I believe.
|
#4
|
||||
|
||||
Quote:
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|