Hi Brian,

I have to admit, I have never encountered that.. I have tried to figure it out but cant.. but came across this link, http://www.pear-forum.org/topic1627.html.
hope it helps

-Alex

On Tue, Sep 15, 2009 at 3:37 PM, Brian Ngure <brian@mystique.boldlygoingnowhere.org> wrote:
Hi,

To any PHP/Pear gurus. I am getting the following error in PHP5.
Anyone know how to resolve?

Non-static method Mail::factory() should not be called statically,
assuming $this from incompatible context

The method factory is static as noted here:
http://pear.php.net/manual/en/package.mail.mail.factory.php.

This code works fine in PHP4.

--
Regards,

Brian Ngure
_______________________________________________
Skunkworks mailing list
Skunkworks@lists.my.co.ke
http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks
Other services @ http://my.co.ke
Other lists
-------------
Announce: http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks-announce
Science:  http://lists.my.co.ke/cgi-bin/mailman/listinfo/science
kazi:     http://lists.my.co.ke/cgi-bin/mailman/admin/kazi/general



--
Am staying informed, and earning from it @ www.jumuika.co.ke