Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

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

admin

Started by anarchocat 2 years ago · 3 replies · 381 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 TomW, 2 weeks ago
8 227 9 hours ago
Support · by alex, 2 months ago
8 667 23 hours ago
Support · by Supple, 5 days ago
1 98 1 day ago
Support · by TomW, 1 week ago
3 159 3 days ago
Support · by TomW, 6 days ago
2 106 5 days ago