Title: Invalid Timezone notification
Last modified: April 11, 2020

---

# Invalid Timezone notification

 *  Resolved [bojwebmaster19](https://wordpress.org/support/users/bojwebmaster19/)
 * (@bojwebmaster19)
 * [5 years, 12 months ago](https://wordpress.org/support/topic/invalid-timezone-notification/)
 * The Site Health tool on the WordPress dashboard gave the following notification
   and classified it as critical:
 * “PHP default time zone was changed after WordPress loading by a date_default_timezone_set()
   function call. This interferes with correct calculations of dates and times.”
 * After doing checks I found that the plugin was the cause. Can this be fixed?

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

 *  Plugin Support [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [5 years, 12 months ago](https://wordpress.org/support/topic/invalid-timezone-notification/#post-12659502)
 * Hi,
 * > After doing checks I found that the plugin was the cause. Can this be fixed?
 * Can you share more information regarding your checks/testing? This will help 
   us know if it is our plugin or your site or server causing this issue.
 * Thank you
    -  This reply was modified 5 years, 12 months ago by [mbrsolution](https://wordpress.org/support/users/mbrsolution/).
 *  Thread Starter [bojwebmaster19](https://wordpress.org/support/users/bojwebmaster19/)
 * (@bojwebmaster19)
 * [5 years, 12 months ago](https://wordpress.org/support/topic/invalid-timezone-notification/#post-12661789)
 * I made sure that the site settings had the correct timezone, as well as the server
   having the same timezone in the php.ini and htaccess files. The hosting company
   also confirmed this, which is ‘America/Jamaica’.
 * 7 installed plugins were identified that had the function ‘ date_default_timezone_set()’
   that the error made reference to. I disabled all of them and the error disappeared.
   I re-enabled one by one and the error re-appeared when simple-membership plugin
   was re-enabled.
 * In other words, whenever Simple Membership plugin is deactivated the error is
   gone and whenever it is re-activated it comes back.
 *  Plugin Support [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [5 years, 12 months ago](https://wordpress.org/support/topic/invalid-timezone-notification/#post-12661843)
 * Hi. go to **WP Membership -> Settings -> Advanced Settings** and check to make
   sure the following field **Use WordPress Timezone** is enabled. If it isn’t can
   you enable, then carry out a test?
 * Thank you
    -  This reply was modified 5 years, 12 months ago by [mbrsolution](https://wordpress.org/support/users/mbrsolution/).
 *  Thread Starter [bojwebmaster19](https://wordpress.org/support/users/bojwebmaster19/)
 * (@bojwebmaster19)
 * [5 years, 12 months ago](https://wordpress.org/support/topic/invalid-timezone-notification/#post-12664443)
 * Hi
 * The field **Use WordPress Timezone** was enabled. I disabled it and the error
   went away. So I guess it should remain disabled.
 * Thanks for the assistance.
 *  Plugin Support [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [5 years, 12 months ago](https://wordpress.org/support/topic/invalid-timezone-notification/#post-12664549)
 * You are most welcome 🙂
 * The following note is added underneath **Use WordPress Timezone** field.
 * > Use this option if you want to use the timezone value specified in your WordPress
   > General Settings interface.
 * In you case the above did not apply because of your timezone configuration. It
   is a good idea to keep this in mind for future reference.
 * Kind regards

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

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

 * ![](https://ps.w.org/simple-membership/assets/icon-128x128.png?rev=974529)
 * [Simple Membership](https://wordpress.org/plugins/simple-membership/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-membership/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-membership/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-membership/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-membership/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-membership/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * Last activity: [5 years, 12 months ago](https://wordpress.org/support/topic/invalid-timezone-notification/#post-12664549)
 * Status: resolved