The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I've been working on this for a long time, and now this error pops up out of nowhere.
It gives me this error: Code:
Fatal error: Call to a member function on a non-object in /xxx/yyy/public_html/forum/profile.php on line 2606 PHP Code:
Help is appreciated, as always. |
#2
|
||||
|
||||
![]() Quote:
In other words, $DB_site Which normally points to Vbulletins DB Interface Class, has 1. Not be constructed 2. Variable can not be found in current operating space (ie. you are using it inside a function and it has not been passed by function ($value) or not been globalized global $value; If you are using that query inside a function, make sure you have global $DB_site; |
#3
|
|||
|
|||
![]()
Tried that already, with no succes.
|
#4
|
||||
|
||||
![]() Quote:
|
#5
|
||||
|
||||
![]()
It's case sensitive. Use $DB_site
![]() |
#6
|
|||
|
|||
![]()
Found the error, it's DB_site, not DB_SITE.
Thought it would be something like that. I need sleep. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|