Warning: strtotime() [function.strtotime]: It is not safe to rely on the system
-
I have a site in testing that keeps showing this error. It only appears intermittently and it goes away if I refresh the page BUT, we want to go live and need to be sure this wont happen in production.
The full error that appears across the top of the page:
Warning: strtotime() [function.strtotime]: 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 ‘Antarctica/Macquarie’ for ‘EST/10.0/no DST’ instead in /wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/waf.php on line 1691
This looks like a date setting BUT the date is set by WordPress so I’ve never experienced this on other sites before?
NOTE: IT appears in the source before anything else:
<br />
<b>Warning</b>: strtotime() [function.strtotime]: 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 ‘Antarctica/Macquarie’ for ‘EST/10.0/no DST’ instead in <b>/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/waf.php</b> on line <b>1691</b><br />
<!doctype html>
<html class=”no-js lt-ie9″ lang=”en-AU” prefix=”og: https://ogp.me/ns#”>
- The topic ‘Warning: strtotime() [function.strtotime]: It is not safe to rely on the system’ is closed to new replies.