WordPress.org

Ready to get started?Download WordPress

Forums

Football Pool
[resolved] Unable to predict 2 hours before the beginning (6 posts)

  1. BruceFeuillette
    Member
    Posted 11 months ago #

    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/

  2. AntoineH
    Member
    Plugin Author

    Posted 11 months ago #

    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.

  3. BruceFeuillette
    Member
    Posted 11 months ago #

    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. :)

  4. AntoineH
    Member
    Plugin Author

    Posted 11 months ago #

    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.

  5. BruceFeuillette
    Member
    Posted 11 months ago #

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

  6. MigenNep
    Member
    Posted 10 months ago #

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

    Thanks

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.