Posted by "Michael Sims" on 09/20/05 04:21
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
[Back to original message]
|