Posted by Tony Marston on 03/24/06 11:03
This is because you are doing something like
$result = $object->function($arg);
and $object is not an actual object. Perhaps you have not initialised it
yet, or miss-spelled it?
--
Tony Marston
http://www.tonymarston.net
"Stephen Kay" <sk@karma-lab.nospam.com> wrote in message
news:C0485985.5A1BB%sk@karma-lab.nospam.com...
> Getting an error like this, when trying to call a function in another php
> module from a different one:
>
> Fatal error: Call to a member function on a non-object in
> /home/mysite/public_html/forumtr/admin/functions.php
>
> Thanks for any info.
>
> --
> Stephen Kay
> Karma-Lab sk@karma-lab.NOSPAM.com
> ^^^^^^^
>
>
Navigation:
[Reply to this message]
|