DateTimeZone::_construct():Unknown or bad timezone() | Magento 2
After installed a magento 2 theme I got the error while try to access backend module.
Share
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Aviance School is one of the largest web solutions platform in India for developers to learn and share their programming knowledge and build their careers.
I had the exact same problem.For me the core_config_data table was corrupted.
I had tried to fetch core_config_data table data using below MySQL comment and result was empty.
SELECT * FROM core_config_data WHERE path = 'general/locale/timezone';
Insert the default value:
INSERT INTO core_config_data('path', 'value') VALUES ('general/locale/timezone', 'Asia/Bangkok');