Title: Course query issue
Last modified: February 23, 2018

---

# Course query issue

 *  Resolved [rwpett](https://wordpress.org/support/users/rwpett/)
 * (@rwpett)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/course-query-issue/)
 * When we drill down into a student and look at the courses they have completed
   we get the following [print screen](https://drive.google.com/file/d/1oCTNKKlaDW2dXyzF8Cvg12bREiaLRQzp/view?usp=sharing)
   
   This seems to have an issue with the query as it has returned alot of extra IDS
   for the three attempts the student has taken. This is new by the way with the
   last update it appears. Is there anything I can do? Thank you for your time Ron

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

 *  [jurasjo](https://wordpress.org/support/users/jurasjo/)
 * (@jurasjo)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/course-query-issue/#post-10009613)
 * I have checked on my site and there is no problem with that. Maybe it something
   related to Your theme or some custom function which You are using in Your functions.
   php file. Maybe it is related to PHP version.
 *  [Thomas Patrick Levy](https://wordpress.org/support/users/thomasplevy/)
 * (@thomasplevy)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/course-query-issue/#post-10017991)
 * [@rwpett](https://wordpress.org/support/users/rwpett/),
 * There was a bug in the database migrator functionality prior to 3.16.10 that 
   would *restart* the database upgrade when the “Taking too long” button was clicked.
 * That means that if you ran the upgrade and it was taking too long and you clicked
   that button you could have spawned multiple copies of the migration in the background.
 * This would mean that attempts could have been unintentionally duplicated by these
   multiple processes.
 * I’m really dumb. I’m sorry that I made a bug like that. The best I can recommend
   would be to delete those duplicate attempts or — if possible — roll your database
   to a backup and rerun the migration on 3.16.11 or later since the bug has been
   fixed. You can now click away on the taking too long button without consequence.
 * Sorry,

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

The topic ‘Course query issue’ is closed to new replies.

 * ![](https://ps.w.org/lifterlms/assets/icon.svg?rev=2034507)
 * [LifterLMS - WP LMS for eLearning, Online Courses, & Quizzes](https://wordpress.org/plugins/lifterlms/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/lifterlms/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/lifterlms/)
 * [Active Topics](https://wordpress.org/support/plugin/lifterlms/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/lifterlms/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/lifterlms/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [Thomas Patrick Levy](https://wordpress.org/support/users/thomasplevy/)
 * Last activity: [8 years, 3 months ago](https://wordpress.org/support/topic/course-query-issue/#post-10017991)
 * Status: resolved