![]() |
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? |
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 :)
|
"global $DB_site" - this is the old db class I believe.
|
Quote:
|
All times are GMT. The time now is 11:16 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|