Re: Call to a member function on a non-object

From: Date: Thu, 12 Feb 2004 12:35:00 +0000
Subject: Re: Call to a member function on a non-object
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-177509@lists.php.net to get a copy of this message
Hello Angelo, Thursday, February 12, 2004, 11:33:39 PM, you wrote: AZ> HI, AZ> I used my scripts yesterday and suddenly today they dont work and I get this AZ> error: Call to a member function on a non-object AZ> it points to erroneous line that calls a function in 1 of my classes. The AZ> class and this particular file have not been changed since i used them yest. AZ> I also checked my DB and all is perfect. I read somewhere on the net that it AZ> could have something to do with cache. But i couldnt find any helpful info. AZ> perhaps someone has experienced this error before and what could cause it AZ> and how do i fix it? AZ> thanx in advance AZ> Angelo --> may be you have to check whether you have already include the file --> or not .. sometimes, include_once (or require_once) could lead to --> this error .. so try to use include or require .. hope it work :) -- Best regards, adwinwijaya mailto:adwinwijaya@yahoo.com.au

« previous php.general (#177509) next »