Title: [Plugin: PHPLeague for WordPress] Update problem
Last modified: August 20, 2016

---

# [Plugin: PHPLeague for WordPress] Update problem

 *  [gipic](https://wordpress.org/support/users/gipic/)
 * (@gipic)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-phpleague-for-wordpress-update-problem/)
 * I’m using PHP to manage waterpolo matches.
 * The plugin is wonderful but I’ve two different problem:
 * 1) Settings key don’t change anything. I try to change preferred team or qualification,
   then I press save…. No error (Settings updated successfully)…. all is good…. 
   but default settings are always the same
 * 2) When I’ve been updated the results about matches played in the same day, then
   I’ve pressed Save and Generate…. The table is ok immediately but the results 
   are available after midnight.
 * PHPLeague release is 1.4.4
    WP release is 3.3.1 Theme is Graphene 1.6
 * [http://wordpress.org/extend/plugins/phpleague/](http://wordpress.org/extend/plugins/phpleague/)

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Author [mikaweb](https://wordpress.org/support/users/mikaweb/)
 * (@mikaweb)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-phpleague-for-wordpress-update-problem/#post-2573205)
 * I didn’t touch the plugin since more than 2 months (before 3.3 release).
 * I’m going to work on it while I’m on holidays from Sunday.
 *  Thread Starter [gipic](https://wordpress.org/support/users/gipic/)
 * (@gipic)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-phpleague-for-wordpress-update-problem/#post-2573276)
 * Hi mika, the first problem may be the same explained in the last one post. The
   second (display results in the same day of matches) was just present in the previous
   releases.
 * It’s not drammatic… but it is a limit to use it better
 * Thank’s
 * the site is : [http://www.scquinto.com](http://www.scquinto.com) (section Risultati
   e Classifica)
 *  Thread Starter [gipic](https://wordpress.org/support/users/gipic/)
 * (@gipic)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-phpleague-for-wordpress-update-problem/#post-2573433)
 * Hi Mika with your new file is ok also for my first issue (point #1).
    I have 
   changed only phpleague.php to check it…
 * [http://wordpress.org/support/topic/phpleague?replies=9](http://wordpress.org/support/topic/phpleague?replies=9)
 * the #2 is still open…. and not fixed….
    I try to explain better:
 * a) I have a match on March 6 at 10:00
    b) At 11.00 I update the result (5-5) 
   c) I update the table (generate) d) the table is ok with points and goals correct
   but the result (fixture) will not appear until midnight. e) After midnight all
   is ok (table and results) without any intervention
 * _if i change the date of match (ex: 5 march) the result is showing immediately_
 *  Plugin Author [mikaweb](https://wordpress.org/support/users/mikaweb/)
 * (@mikaweb)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-phpleague-for-wordpress-update-problem/#post-2573434)
 * Yes, I didn’t had a look yet. I’m gonna check this.
 *  Thread Starter [gipic](https://wordpress.org/support/users/gipic/)
 * (@gipic)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-phpleague-for-wordpress-update-problem/#post-2573457)
 * Hi Mika,
 * I have identified the problems associated with updating the same day of the match.
 * There are 2 errors in the script phpleague-front.php
 * 1) line 268, 313, 330: the row:
    **if (date(‘Y-m-d’) >= $row->played)** must 
   be modified in: **if (date(‘Y-m-d H:i:s’) >= $row->played)**
 * 2) it is necessary to include the line
    **date_default_timezone_set(‘Europe/Rome’);**
   to have a correct **Timezone**.
 * With these changes the update is ok. If you implement only the #1 you have a 
   2 hours difference (for Italy, German, etc….) for incorrect timezone.
 *  [DinoCSP](https://wordpress.org/support/users/dinocsp/)
 * (@dinocsp)
 * [14 years ago](https://wordpress.org/support/topic/plugin-phpleague-for-wordpress-update-problem/#post-2573482)
 * I have problem that is I guess attached to the updating problem, all of a sudden
   my “Latest results” got mixed up, it show last five but not in right order any
   more.. ti worked for like 10 legs up until now… now it’s mixed up… these are 
   the last 5 results for these teams but not in right order.. any word on that?
 *  [jolona](https://wordpress.org/support/users/jolona/)
 * (@jolona)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-phpleague-for-wordpress-update-problem/#post-2573541)
 * Mika,
 * I had the same problem as “gipic” and I fixed doing what he did in his last post.
   And it works fine right now. Thx Gipic, thx Mika.
 * Javier

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘[Plugin: PHPLeague for WordPress] Update problem’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/phpleague_464e2f.svg)
 * [PHPLeague](https://wordpress.org/plugins/phpleague/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/phpleague/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/phpleague/)
 * [Active Topics](https://wordpress.org/support/plugin/phpleague/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/phpleague/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/phpleague/reviews/)

 * 7 replies
 * 4 participants
 * Last reply from: [jolona](https://wordpress.org/support/users/jolona/)
 * Last activity: [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-phpleague-for-wordpress-update-problem/#post-2573541)
 * Status: not resolved