RE: [PHP] Call to a member function on a non-object
| From: | Angelo Zanetti | Date: | Fri, 13 Feb 2004 08:23:17 +0000 |
| Subject: | RE: [PHP] Call to a member function on a non-object | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-177579@lists.php.net to get a copy of this message | ||
Hi guys could the fatal error be caused because of something to do with
cache? I am running the scripts on my pc and not a server ie:(localhost).
thanx
-----Original Message-----
From: adwinwijaya [mailto:adwinwijaya@yahoo.com.au]
Sent: Thursday, February 12, 2004 2:35 PM
To: Angelo Zanetti
Cc: Php-General@Lists.Php.Net
Subject: Re: [PHP] Call to a member function on a non-object
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
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--------------------------------------------------------------------
Disclaimer
This e-mail transmission contains confidential information,
which is the property of the sender.
The information in this e-mail or attachments thereto is
intended for the attention and use only of the addressee.
Should you have received this e-mail in error, please delete
and destroy it and any attachments thereto immediately.
Under no circumstances will the Cape Technikon or the sender
of this e-mail be liable to any party for any direct, indirect,
special or other consequential damages for any use of this e-mail.
For the detailed e-mail disclaimer please refer to
http://www.ctech.ac.za/polic or call +27 (0)21 460 3911