Title: PHP Default Timezone is Invalid
Last modified: February 22, 2021

---

# PHP Default Timezone is Invalid

 *  [bsam21](https://wordpress.org/support/users/bsam21/)
 * (@bsam21)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/php-default-timezone-is-invalid-2/)
 * I have the latest WP 5.6.2 version and PDB 1.9.6.8 installed. PHP 7.4.14, MySQLi
   5.7.33. The WP Site Health app says I have 1 critical issue:
    PHP Default Timezone
   is Invalid “PHP default timezone was changed after WordPress loading by a date_default_timezone_set()
   function call. This interferes with correct calculations of dates and times.”
 * I determined that the PDB plugin causing the issue. When I disable it and the
   issue goes away. So, any idea what needs to be done to correct this issue?
 * Regards,

Viewing 1 replies (of 1 total)

 *  Thread Starter [bsam21](https://wordpress.org/support/users/bsam21/)
 * (@bsam21)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/php-default-timezone-is-invalid-2/#post-14087566)
 * Oops. As usual, I found the solution on the XNAU website, but only after I posted
   this issue, and it wasn’t obvious at first. Under the “Date Shifting and Other
   Timezone-related Issues” Tips and Tutorial, there is a “Preventing the Plugin
   Timezone Sync” section. It says the WP Health Check will show a warning if PDB
   advanced setting- “Sync php Timezone” is checked, although it doesn’t explicitly
   says the name of the WP error.
 * If your site is showing this issue, I suggest you go to [https://xnau.com/date-shifting-and-other-timezone-related-issues-in-participants-database/](https://xnau.com/date-shifting-and-other-timezone-related-issues-in-participants-database/)
   and read the pros and cons of this setting.
 * Regards
    M.

Viewing 1 replies (of 1 total)

The topic ‘PHP Default Timezone is Invalid’ is closed to new replies.

 * ![](https://ps.w.org/participants-database/assets/icon-256x256.jpg?rev=1389807)
 * [Participants Database](https://wordpress.org/plugins/participants-database/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/participants-database/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/participants-database/)
 * [Active Topics](https://wordpress.org/support/plugin/participants-database/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/participants-database/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/participants-database/reviews/)

## Tags

 * [PDB](https://wordpress.org/support/topic-tag/pdb/)
 * [time](https://wordpress.org/support/topic-tag/time/)

 * 1 reply
 * 1 participant
 * Last reply from: [bsam21](https://wordpress.org/support/users/bsam21/)
 * Last activity: [5 years, 3 months ago](https://wordpress.org/support/topic/php-default-timezone-is-invalid-2/#post-14087566)
 * Status: not resolved