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 1 year ago · 3 replies · 122 views
1 year 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.

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

1 year 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 Anna, 21 hours ago
2 67 23 minutes ago
Support · by gtx, 1 week ago
4 233 2 days ago
Support · by Paul Hodges, 2 weeks ago
13 283 5 days ago
Support · by Anna, 3 weeks ago
9 339 1 week ago
Support · by TomW, 2 weeks ago
4 192 2 weeks ago