Re: User error handler must not modify error context

From: Date: Tue, 20 Sep 2005 00:50:24 +0000
Subject: Re: User error handler must not modify error context
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-222714@lists.php.net to get a copy of this message
Noel wrote:
Error Message: Fatal error: User error handler must not modify error context in [FILENAME] on line 58 [snip] The error number is pointing to this code: LINE 57: global $mywebsite; LINE 58: if ($_POST['title']) $title = $_POST['title']; LINE 59: elseif ($_GET['title']) $title = $_GET['title']; [snip] I'm using PHP 4.4. 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?
It's hard to tell whether it's a bug in your code or a bug in PHP, with only 3 lines of your code to work on. Can you post the entire function of which that code is a part please? -- Jasper Bryant-Greene Freelance web developer http://jasper.bryant-greene.name/

« previous php.general (#222714) next »