Support » Plugin: Ultimate WordPress Auction Plugin » PHP Timezone is Invalid

  • I’m getting this message in my WordPress Site Health page.
    “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 seems to be coming form the Ultimate Auction Pro plugin.

    How can I fix this?
    Wordpress version 5.4.1
    PHP version 7.3.17

Viewing 7 replies - 1 through 7 (of 7 total)
  • Same problem.

    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.

    Plugin Author Nitesh

    (@nitesh_singh)

    Hi @zanzara ,

    You had mentioned that you are using “Ultimate Auction Pro Plugin”. Could you please share below:

    1. Full plugin name

    2. Plugin version.

    We doubt that you are using an old plugin and that too a pro version which we do not support any more.

    @jjk697 ,

    Could you please share below information:

    1. Could you please share system information: PHP Version, WP Version, Mysql version and plugin name and its version.

    2. Where do you see this message? Kindly share the steps to reproduce it

    Regards,

    Thread Starter Zanzara

    (@zanzara)

    Hi Nitesh,
    The name of the plugin is:
    Ultimate Auction Pro
    Awesome plugin to host auctions on your wordpress site and sell anything you want.
    Version 7.0.9 | By Nitesh Singh | Visit plugin site

    Hello Nitesh,

    I am having the same problem. WordPress reports this as a critical error when your plugin is active, and it stops reporting it when deactivated. It is certainly this plugin and not another.

    “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.”

    Ultimate WordPress Auction Plugin
    Version 4.0.6

    Thanks,
    Greg

    Does this break something after setting correct time zone?

    I have the same, or similar, experience. This plugin interferes with my My Calendar plugin and changes all the times.

    So, a temporary workaround is to set the timezone for the ultimate auction plugin to the London timezone (even though I live in Sweden). This will adjust the times in the calendar to the correct start- and end time.

    However, this will also have an impact on the start- and end times when adding a new auction. If I set the end time to 1 PM (13:00) – now it’s 12:24 – it will say that the auction ends in 1 hr and 35 minutes.

    I’m not really sure what’s my best option here.

    We have the same issue. This error message shows up as a “critical issue” under the wordpress site health area so you should resolve it. Can’t you configure the plugin to use the same time zone that is set by the user under the wp general settings? why would you try to set your own timezone here? just use the wordpress general setting for this or at least give the admin the option so we can fix this.

    Using WP 5.6.1, Ultimate Auction 4.0.8

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.