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

[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/

--
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