You are *required* to use the date.timezone setting Drupal8

Warning: date_create(): It is not safe to rely on the system’s timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function.

Solution

1 – Go To PHP.INI
2 – Search For ;date.timezone =
3 – Remove Comment
4 – add date.timezone = “Asia/Calcutta”
5 – Restart Apache webserver

Leave a Reply

Your email address will not be published. Required fields are marked *