Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

Getting 'Unknown or bad timezone ' when trying to login into admin

admin

Started by anarchocat 2 years ago · 3 replies · 270 views
2 years ago

Just tried to login into the admin interface of grav and got the following error message after login-in the admin:

TXT
DateInvalidTimeZoneException
DateTimeZone::__construct(): Unknown or bad timezone (Asia/Choibalsan)

More info:
image|690x378

It never happened before, and I haven't made any changes since last time I logged in. I have no idea how to fix this.

2 years ago

Sounds like you had PHP config changes. And this exception is only available since PHP 8.0, on which Grav 1.7 doesn't work and 1.8 is still in beta

2 years ago

Find out if/who changed your PHP config and revert. Talk to your hosting provider maybe

Suggested topics

Topic Participants Replies Views Activity
Support · by webmasterodp, 1 week ago
4 158 6 days ago
Support · by nwhitfield, 1 week ago
2 137 1 week ago
Support · by stell, 3 weeks ago
5 369 2 weeks ago
Support · by gravinator, 1 month ago
5 560 2 weeks ago
Support · by Gravver, 3 weeks ago
6 348 3 weeks ago