• Resolved dimal

    (@dimalifragis)


    This started today, without changing anything. WP 6.2.x and PHP 8.1

    [14-Aug-2023 04:05:49 UTC] PHP Notice: date_default_timezone_set(): Timezone ID ” is invalid in /home/wp-content/plugins/ninjafirewall/lib/logs_firewall_log.php on line 26

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author nintechnet

    (@nintechnet)

    It seems you didn’t define the timezone in WordPress.
    Go to the WordPress “Settings > General” page, select the correct timezone and save your changes. Then, go back to the NinjaFirewall’s log page to check if PHP still throws a notice about it.

    Thread Starter dimal

    (@dimalifragis)

    Hi, I have set the timezone in WP, since the site run for years, WITH Ninja Firewall.

    What i did was, setting the same timezone in WP as i had in Ninja. And now the issue is gone. Strange.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘PHP Notice: date_default_timezone_set()’ is closed to new replies.