Jump to content

Fatal error: Call to a member function on a non-object...


All4172

Recommended Posts

I've tried looking for this answer but can't seem to find it.  Is there anything wrong with this syntax below?  Any ideas why I would get the "Fatal error: Call to a member function on a non-object on line 20" error?

[code]
$ibforums->lang['digichat_guest'] = "You must register with our forums to use our chat feature.";
[/code]
Here's everything above that line thus far:

[code]
class module extends module_loader
{
var $output = "";

function module()
{
global $ibforums,$print,$std,$DB;


$ibforums->lang['digichat_guest'] = "You must register with our forums to use our chat feature.";
[/code]

I declared $ibforums directly above it (at least that is what I think your asking?)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.