[wp-trac] [WordPress Trac] #17840: Fatal Error on General Settings when Timezone string is invalid.
WordPress Trac
wp-trac at lists.automattic.com
Sun Jun 19 08:21:09 UTC 2011
#17840: Fatal Error on General Settings when Timezone string is invalid.
--------------------------+-------------------
Reporter: westi | Owner: westi
Type: defect (bug) | Status: new
Priority: high | Milestone: 3.2
Component: Date/Time | Version: 3.2
Severity: normal | Keywords:
--------------------------+-------------------
If an enterprising user manages to get an invalid value in this option the
General Settings page is completely broken:
{{{
[19-Jun-2011 08:03:27] PHP Fatal error: Uncaught exception 'Exception'
with message 'DateTimeZone::__construct() [<a href='datetimezone.--
construct'>datetimezone.--construct</a>]: Unknown or bad timezone
(Garbage)' in .../wp-admin/options-general.php:187Stack trace:
#0 .../wp-admin/options-general.php(187):
DateTimeZone->__construct('Garbage')#1 {main}
thrown in .../wp-admin/options-general.php on line 187
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17840>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list