Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

The default time zone is not valid: date_default_timezone_set () function

by

Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember Troubleshooting › The default time zone is not valid: date_default_timezone_set () function

  • This topic has 2 replies, 2 voices, and was last updated 5 years, 5 months ago by chadrio.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • January 10, 2020 at 9:16 am #15201
    chadrio
    Participant

    I have WordPress 5.3.2 installed.

    In “Site Health” this message appears:

    The default time zone is not valid.

    PHP’s default time zone has changed after loading WordPress for a call of the date_default_timezone_set () function. This interferes with the correct date and time calculations.

    Only when eMember is activated, it interferes with the publications programmed in WordPress and the calendar in PublishPress. In another place where eMember is not installed it does not occur.

    I removed all the plugins and left only eMember and the error appears with it enabled and when it is disabled the error disappears.

    When the option “Use WordPress Timezone” in eMember settings is disabled, the error also disappears, and when enabled it reappears and forces you to change in WordPress “Timezone” for UTC instead of city.

    Can it be perhaps because of the change introduced in WP 5.3 in the handling of Timezone at the code level?

    Thank you. Kind Regards.

    January 12, 2020 at 12:18 am #80229
    admin
    Keymaster

    This is a WP5.3 change related. Go to the emember settings menu and uncheck the following checkbox:

    Use WordPress Timezone

    Then our plugin won’t try to do this and the issue will be resolved.

    January 12, 2020 at 4:30 pm #80230
    chadrio
    Participant

    Done, thank you!

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ