Multiple “in-progress” statuses for same lesson
-
I’ve been encountering a few members of mine that cannot complete a lesson because of a a previous lesson have not been completed even though they just pressed quiz_save.
I found that these users had 2 entries of in-progress status in the comments table with the same comment_post_ID.
This puts the user in and endless loop as the function user_completed_lesson in Utils on the line 1728 doesn’t take into account that multiple entries somehow can be present.
A quick and dirty fix would be to check if $_user_lesson_status is an array and not an object then reset the array to use the first object available on line 1726 in class-sensei-utils.php
- The topic ‘Multiple “in-progress” statuses for same lesson’ is closed to new replies.