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

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Support

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

admin

Started by anarchocat 1 year ago · 3 replies · 42 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 Thomas, 1 week ago
2 60 16 hours ago
Support · by Anna, 3 days ago
2 66 19 hours ago
Support · by Justin Young, 19 hours ago
1 33 19 hours ago
Support · by Duc , 1 week ago
2 69 6 days ago
Support · by Colin Hume, 1 week ago
2 61 6 days ago