Re: Strange non-object
| From: | Scott Mattocks | Date: | Wed, 07 Sep 2005 19:54:04 +0000 |
| Subject: | Re: Strange non-object | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-6199@lists.php.net to get a copy of this message | ||
Marcus Leandro de Faria Reis wrote:
Fatal error: Call to a member function on a non-object in /home/marcus/lanhelp/projetos/lanhelpsystem/gtk/lanhelpsystem.php on line 17 --> $login->janela->hide(); so, whats wrong??The code you listed does not initialize $login within the function Inicializa. It isn't so much that janela isn't an object as it is $login doesn't exist in the function. -- Scott Mattocks scott@crisscott.com http://www.crisscott.com http://pear.php.net/user/scottmattocks