Support » Plugin: Football Pool » Unable to predict 2 hours before the beginning

  • Resolved BruceFeuillette

    (@brucefeuillette)


    Hello !
    There’s a strange bug.
    A match is starting at 18:30 UTC and at 16:30 I can’t predict.
    The form is still writable but it won’t save the prediction.
    If I set the start at 18:40, it works, I can predict.
    The limit before predicting is set to 0.
    If I’m in the two hours before, it’s blocked.

    http://wordpress.org/plugins/football-pool/

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

    (@antoineh)

    Hi,
    Strange indeed. I can’t reproduce the behavior in my install.

    Is it possible to get a temporary account in your install (as football pool admin role)? If so, you can mail the details to wordpressfootballpool [at] gmail [dot] com. And I will have a look, see if I can figure out what is going wrong.

    Done 🙂
    Thanks !
    It’s not the first time, my friends have said it to me 2 or 3 times and I was thinking it was their browser. 🙂

    Plugin Author AntoineH

    (@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.

    I can confirm that it’s works great.
    Thanks !

    Nice one, I just realized I had the same problem on my main installation. It works perfectly now with the fix provided.

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Unable to predict 2 hours before the beginning’ is closed to new replies.