I am getting this error displaying on the frontend
Array ( [type] => 2 [message] => date_default_timezone_get(): 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. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. [file] => /var/www/mysite.com/public_html/lib/stdlib.php [line] => 15 )
Timezone is set in the settings as you can see.
I tried manually adding the timezone into the stated file on line 15, but it didn't seem to make any difference.
I don't think im suppose to be doing that anyway to be honest.
Question
Stu
HI again,
I am getting this error displaying on the frontend
Array ( [type] => 2 [message] => date_default_timezone_get(): 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. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. [file] => /var/www/mysite.com/public_html/lib/stdlib.php [line] => 15 )
Timezone is set in the settings as you can see.
I tried manually adding the timezone into the stated file on line 15, but it didn't seem to make any difference.
I don't think im suppose to be doing that anyway to be honest.
Thanks all
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.