The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
Strange problem in a plug-in
I am trying to use a simple query in a plug-in, located in the postbit_display_start hook, and for some strange reason, it crashes with the following error:
Fatal error: Call to a member function on a non-object in /home/xxx/xxx/includes/class_postbit.php(251) : eval()'d code on line 80 The code in that line, looks like: Code:
$get_notes=$db->query_read("select w.*, u.username as warner from ".TABLE_PREFIX."warn_notes w LEFT JOIN ".TABLE_PREFIX."user u on (u.userid=w.warned_by) where warned_user='{$post[userid]}' order by warned_time desc"); Rgds |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|