Title: causes PHP default timezone invalid
Last modified: November 22, 2023

---

# causes PHP default timezone invalid

 *  [injanx](https://wordpress.org/support/users/injanx/)
 * (@injanx)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/causes-php-default-timezone-invalid/)
    - **Health check plugin gives this response when WP Counter is activated**
    - 1 critical issue
    - Critical issues are items that may have a high impact on your sites performance
      or security, and resolving these issues should be prioritized.PHP default 
      timezone is invalidPerformance
    - 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.
 * It is the only plugin that causes this issue. All plugins were deactivated until
   Health check no longer wrote the error message and then activated one by one 
   until WP counter was activated and then it appeared again. date-default
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcauses-php-default-timezone-invalid%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

The topic ‘causes PHP default timezone invalid’ is closed to new replies.

 * ![](https://ps.w.org/wp-counter/assets/icon-256x256.png?rev=1240347)
 * [WP Counter](https://wordpress.org/plugins/wp-counter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-counter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-counter/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-counter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-counter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-counter/reviews/)

## Tags

 * [php74](https://wordpress.org/support/topic-tag/php74/)

 * 0 replies
 * 1 participant
 * Last reply from: [injanx](https://wordpress.org/support/users/injanx/)
 * Last activity: [2 years, 6 months ago](https://wordpress.org/support/topic/causes-php-default-timezone-invalid/)
 * Status: not resolved