I got this error when I requested to update the PHP version from 5.2.17 to PHP 5.3.21 on the server.
If you are using CodeIgniter and can't change php.ini, I added the following to the beginning of index.php:
date_default_timezone_set('GMT');