Re: Stack backtrace on fatal error?

From: Tim Tyler (tim_at_tt1lock.org)
Date: 09/20/04


Date: Mon, 20 Sep 2004 21:04:41 GMT

Chris Hope <blackhole@electrictoolbox.com> wrote or quoted:
> Tim Tyler wrote:

> > "Fatal error: Call to a member function fetchRow() on a non-object."
>
> It means that you've done eg $foo->fetchRow() but $foo is not actually an
> object. Without seeing any of your code it is difficult to further diagnose
> what your problem is.

I was not trying to fix that problem - it was an example.

I was trying to find a better way of fixing *all* such bugs -
by getting PHP to report where the problem code was called from.

-- 
__________
 |im |yler  http://timtyler.org/  tim@tt1lock.org  Remove lock to reply.


Relevant Pages