l3vi
12-15-2005, 07:26 PM
Im working on a plugin that is part of postbit under postbit_display_complete.
Each time I call any of the objects below I get member function on a non-object error.
Fatal error: Call to a member function on a non-object in ../includes/class_postbit.php(279) : eval()'d code on line 1
I know what the error means, but I can not figure why its calling this error when I look at the source for showthread.php everything looks right. I even ran some test without the obj calls and it runs fine, except no data. The only thing that I have found is if I have any of them in they give the error.
$db->query_read("..")
$bbcode_parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list());
$vbulletin->options['maxrepgv']
$db->fetch_array($post_query)
$bbcode_parser->parse($reputation['reputation '])
Any ideas?
Each time I call any of the objects below I get member function on a non-object error.
Fatal error: Call to a member function on a non-object in ../includes/class_postbit.php(279) : eval()'d code on line 1
I know what the error means, but I can not figure why its calling this error when I look at the source for showthread.php everything looks right. I even ran some test without the obj calls and it runs fine, except no data. The only thing that I have found is if I have any of them in they give the error.
$db->query_read("..")
$bbcode_parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list());
$vbulletin->options['maxrepgv']
$db->fetch_array($post_query)
$bbcode_parser->parse($reputation['reputation '])
Any ideas?