• Resolved pinaldave

    (@pinaldave)


    Last scan completed:
    Fatal error: Uncaught Exception: DateTimeZone::__construct(): Unknown or bad timezone (Etc/GMT-5.5) in /home/sqlautho/public_html/wp-content/plugins/wordfence/lib/wfUtils.php:2045 Stack trace: #0 /home/sqlautho/public_html/wp-content/plugins/wordfence/lib/wfUtils.php(2045): DateTimeZone->__construct(‘Etc/GMT-5.5’) #1 /home/sqlautho/public_html/wp-content/plugins/wordfence/lib/menu_dashboard.php(20): wfUtils::formatLocalTime(‘F j, Y g:i a’, 1497523169) #2 /home/sqlautho/public_html/wp-content/plugins/wordfence/lib/wordfenceClass.php(5854): require(‘/home/sqlautho/…’) #3 /home/sqlautho/public_html/wp-includes/class-wp-hook.php(298): wordfence::menu_dashboard(”) #4 /home/sqlautho/public_html/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(”, Array) #5 /home/sqlautho/public_html/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #6 /home/sqlautho/public_html/wp-admin/admin.php(222): do_action(‘toplevel_page_W…’) #7 {main} thrown in /home/sqlautho/public_html/wp-content/plugins/wordfence/lib/wfUtils.php on line 2045

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter pinaldave

    (@pinaldave)

    Above error happens when we click on dashboard.

    Thread Starter pinaldave

    (@pinaldave)

    Reverted back to previous version and everything worked again.

    same here. Im getting the same error with the latest version.

    Thread Starter pinaldave

    (@pinaldave)

    I think this error is coming to everyone who are not in the same timezone as the author.

    did a rollback using that WP rollback plugin. now its working fine again. please fix it asap.

    Edit – I was also getting that “unknown file in core: wp-admin/php.ini” error with the latest updated after running the scan. error msg is gone after I did a rollback and scanned my site again.

    • This reply was modified 7 years, 5 months ago by ragzybwp73.
    Plugin Author wfryan

    (@wfryan)

    We have a fix underway for this. In the meantime, if you want to use the current version, you can work around the problem by using a named time zone equivalent. 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. Typically one or more of the principal cities listed will appear in WordPress’s list.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Latest Version creates this error’ is closed to new replies.