2007-03-11, 03:48 PM
For my website I'm using mybb as a forum and somekind of CMS.
The website uses a custom written portal which gets its newsitems from the mybb forum database.
To apply smilies/url/bbcode I use the parser functions from mybb, therefor I include some mybb function files.
However I am getting these 'notice' messages when using mybb's files:
Notice: Trying to get property of non-object in D:\_WWW\forums\inc\class_datacache.php on line 60
Is there a workaround? Perhaps I set some blank variable somewhere?
(Currently I 'fixed' it by hiding error messages but thats just a quick and dirty fix)
The website uses a custom written portal which gets its newsitems from the mybb forum database.
To apply smilies/url/bbcode I use the parser functions from mybb, therefor I include some mybb function files.
However I am getting these 'notice' messages when using mybb's files:
Notice: Trying to get property of non-object in D:\_WWW\forums\inc\class_datacache.php on line 60
Is there a workaround? Perhaps I set some blank variable somewhere?
(Currently I 'fixed' it by hiding error messages but thats just a quick and dirty fix)