Skip to content
Grav 2.0 is officially stable. Read the announcement →
Support

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

admin

Started by anarchocat 2 years ago · 3 replies · 165 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 Paul Hodges, 4 weeks ago
19 484 5 days ago
Support · by Lauw, 7 days ago
2 99 7 days ago
Support · by Anna, 3 weeks ago
4 426 1 week ago
Support · by gtx, 4 weeks ago
4 377 3 weeks ago
Support · by Anna, 1 month ago
9 484 3 weeks ago