DateTimeZone::_construct():Unknown or bad timezone() | Magento 2

After installed a magento 2 theme I got the error while try to access backend module.

Team Leader Asked on August 1, 2019 in MAGENTO.
Add Comment
1 Answer(s)

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');

Team Leader Answered 16 hours ago.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.