This is the same case for my site also. Please help.
Have you tried clearing your browser cache and/or any caching in WP?
I have cleared the browser cache. I have also purged the Varnish cache of my server. Still the same issue.
Yes I have cleared the cache and also tried 3 different browsers.
Anything in error_log or wp-admin/error_log?
PHP Fatal error: Uncaught Exception: DateTimeZone::__construct(): Unknown or bad timezone (Etc/GMT-5.5) in /public_html/wp-content/plugins/wordfence/lib/wfUtils.php:2045
Stack trace:
#0 /public_html/wp-content/plugins/wordfence/lib/wfUtils.php(2045): DateTimeZone->__construct('Etc/GMT-5.5')
#1 /public_html/wp-content/plugins/wordfence/lib/menu_dashboard.php(20): wfUtils::formatLocalTime('F j, Y g:i A', 1497800218)
#2 /public_html/wp-content/plugins/wordfence/lib/wordfenceClass.php(5854): require('/home/98600.clo...')
#3 /public_html/wp-includes/class-wp-hook.php(298): wordfence::menu_dashboard('')
#4 /public_html/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters('', Array)
#5 /public_html/wp-includes/plugin....
', referer: http://www.rswebsols.com/wp-admin/index.php
-
This reply was modified 8 years, 11 months ago by
rswebsols.
Looks like Wordfence doesn’t know how to handle your timezone, possibly due to the half hour offset. There are non-WP threads showing this error, which looks like it’s caused by the same library used by Wordfence.
Yes, you are right. I have just updated the time zone from General Settings page, and now the Wordfence dashboard page is showing correctly.
If that’s it for you, please mark this thread as resolved.
I am not the creator of this thread.
Hi All!
@dfaovred and @rswebsols There will be a fix included for this issue in the next version, for now, you can use a named time zone equivalent in (WordPress > Settings => General => Timezone). For “+5:30”, Asia/Colombo will work. Any others can be looked up here if needed: https://en.wikipedia.org/wiki/List_of_UTC_time_offsets.
Thanks @galbaras for helping out in this thread.