Support » Plugin: Football Pool » Timezone problem

  • Resolved full1restart719


    I’ve just tested the plugin and I should say it’s a great one!
    But I have a problem. I wanted to test if the point system works properly and that’s why I created a game trying to predict it. I entered some random score and the message “Changes saved.” appears but it’s like it doesn’t really saved my prediction…
    Then I’ve tried to set the date of the game somewhere in the next 2-3 days and it worked fine – I could predict the games. After few more tests, I found out the problem. I am using UTC+3 in my General WP settings and that’s why all the games has to be predicted at least 3 hours before the game.
    Sorry for my English, I am applying three screens so you could understand what I mean in an easier way:
    Before I made my predictions:
    During the action:
    And after clicking the “Save” button:

    This was made at 1:15 the same day. The game that is going to be played after ~9hours is saved but the one that will be played after ~1h is not… And my tests say that this is because it’s in the 3h timezone difference.

    Hope to hear from you and sorry for being that detailed

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author AntoineH


    Something you might want to check:

    • your matches are entered in UTC time? You can check this in the Matches admin.
    • your “Match time setting” setting (Pool Layout Options) is “Use WP settings”?

    If so, and it still does not work, can you send me a dump of your “pool_wp_etc.” tables? I’d like to do some testing with your test data.

    wordpressfootballpool [at] gmail [dot] com

    Yeah, the settings are OK. I even tried changing these two with different values just to check if the problem could be fixed by them but nothing happened.
    I’ve just sent you a .sql file on your mail with all of my pool_wp_ tables. Thanks for helping me and hope to hear from you again 🙂

    Plugin Author AntoineH


    Line 726 in classes\class-football-pool-pool.php in plugin version 2.2.5 is:
    $rows = $matches->get_info();

    Change this line to the following:
    $rows = $matches->matches;

    New version will have an fix for this bug.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Timezone problem’ is closed to new replies.