Title: Database Error
Last modified: August 30, 2016

---

# Database Error

 *  Resolved [baalam](https://wordpress.org/support/users/baalam/)
 * (@baalam)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/database-error-190/)
 * The latest update gives me this error:
 * `WordPress database error: [You have an error in your SQL syntax; check the manual
   that corresponds to your MySQL server version for the right syntax to use near'
   69' ORDER BY`date` ASC’ at line 1]
    SELECT `group`, `home_team`, `away_team`,
   DATE_FORMAT(`date`, ‘%Y-%m-%d %H:%i’) AS date, DATE_FORMAT(`date`, ‘%e’) AS day,
   DATE_FORMAT(`date`, ‘%c’) AS month, DATE_FORMAT(`date`, ‘%Y’) AS year, DATE_FORMAT(`
   date`, ‘%H’) AS `hour`, DATE_FORMAT(`date`, ‘%i’) AS `minutes`, `match_day`, `
   location`, `league_id`, `home_points`, `away_points`, `winner_id`, `loser_id`,`
   post_id`, `season`, `id`, `custom` FROM wp_leaguemanager_matches WHERE `home_team`
   = ”69′ ORDER BY `date` ASC`
 * [https://wordpress.org/plugins/leaguemanager/](https://wordpress.org/plugins/leaguemanager/)

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

 *  [Scott.Orton](https://wordpress.org/support/users/scottorton-1/)
 * (@scottorton-1)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/database-error-190/#post-6450861)
 * I am having the same issue and just upgraded to the latest version. Can anybody
   help?
 *  [edmartinezm](https://wordpress.org/support/users/edmartinezm/)
 * (@edmartinezm)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/database-error-190/#post-6450889)
 * Same problem here. Any thoughts?
 *  Plugin Author [K](https://wordpress.org/support/users/koelle/)
 * (@koelle)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/database-error-190/#post-6450930)
 * Sorry, this is an error in the code, which I will fix soon
 *  [Daniel78](https://wordpress.org/support/users/daniel78/)
 * (@daniel78)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/database-error-190/#post-6450943)
 * i have a problem with my goal statistic. The result of a match is 2:2.
 *  But the goal-statistic in the table is by first team 0:0 and by the second team
   2:2.
 * Where is the error ?
 *  Thread Starter [baalam](https://wordpress.org/support/users/baalam/)
 * (@baalam)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/database-error-190/#post-6450960)
 * The original issue is gone with the latest update so I’m marking it as resolved.
   Thanks Kolja!
 * Daniel78 you need to open your own topic.
 * Cheers!

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

The topic ‘Database Error’ is closed to new replies.

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

 * 5 replies
 * 5 participants
 * Last reply from: [baalam](https://wordpress.org/support/users/baalam/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/database-error-190/#post-6450960)
 * Status: resolved