The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Cannot access empty property
Fatal error: Cannot access empty property in ...
What does this error mean? I have the following code in one of my functions... Code:
global $vbulletin; $query = ("SELECT * FROM rank_players ORDER BY $sort $order, pName ASC"); $result = $vbulletin->$db->query_read($query); while ($player = $vbulletin->$db->fetch_array($result)) {...} The table rank_players IS empty, but it should instead simply fail the while loop on line 7; but it never makes it that far and instead dies right on line 5. Also, what is the difference between $vbulletin->$db-> and $db-> ? Is there a reason to use one over the other? |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|