RE: User error handler must not modify error context

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Noel wrote:
> Error Message:
> Fatal error: User error handler must not modify error context in
> [FILENAME] on line 58
[...]
> My site has just been upgraded to this version. In the previous
> version (4.3.11), my site works just fine. Could this be a bug? If it
> is, how can I solve it at least until they've released a fixed for it?

Take a look at bug #25922
http://bugs.php.net/bug.php?id=25922

Looks like this was added to avoid that bug.  If your custom error handler
accepts the fifth argument ($errcontext in the manual) then make sure it is
not modifying that variable, or if it is, have it modify a copy of the
variable instead.

I haven't experienced this myself, this is just what I found from poking
around in the PHP source.... HTH

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux