This is similar to https://github.com/woocommerce/sensei-course-progress/issues/43 (also see https://github.com/woocommerce/sensei-course-progress/pull/50).
Since the lessons were not removed from the course, they should be shown in the "Other Lessons" section.
The lessons were not displayed, as if they had been removed from the course.
The query for the courses with no module is done here, and it appears to be trying to load all lessons belonging to the course, but not belonging to any module of the course. I believe this is the correct logic, but there may be another reason why the query is failing.
Since there was the similar issue above in the Course Progress Widget, it makes me think that we should create helper functions to do queries like this, so extensions don't have to do the queries manually.
Interestingly, the lessons do appear under _Other Lessons_ on the _Lessons_ > _Order Lessons_ screen.
^ Actually, not if there are no modules in a course; only if some.
Since there was the similar issue above in the Course Progress Widget, it makes me think that we should create helper functions to do queries like this, so extensions don't have to do the queries manually.
Agreed. @jom did a similar thing here.
Most helpful comment
Agreed. @jom did a similar thing here.