Re: What is Fatal error: Call to a member function on a non-object in/usr/www/templates/user-prompt-top.ihtml on line 5
| From: | Daniel Convissor | Date: | Tue, 28 Nov 2000 00:23:17 +0000 |
| Subject: | Re: What is Fatal error: Call to a member function on a non-object in/usr/www/templates/user-prompt-top.ihtml on line 5 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-27524@lists.php.net to get a copy of this message | ||
Hi Roy:
> Call to a member function on
> a non-object in /usr/www/templates/user-prompt-top.ihtml on line 5
On "line 5" of your script you have a function. That function is a "member"
of a class. When calling that function, you're using some thing that's a
"non-object."
My guess. Line 5 is inside a function which is inside a class and you're
calling that function by $ObjectName->Function() rather than
$this->Function().
Enjoy,
--Dan
--
PHP scripts that make your job easier
http://www.analysisandsolutions.com/code/
SQL Solution | Layout Solution | Form Solution
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
4015 7 Ave, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409