Having the same issue now. But if you think it well, you will realize that this is expected behaviour.
The course/lesson/topic pages get cached, and that’s why when the user clicks on the complete button, the backend is updated but the frontend is not. Even if now the course is completed, the page is still in cache in the state it was before the user completed the course.
Cleaning the cache would solve the issue temporarily, but we need to exclude all those pages from cache.
The fastest way is to exclude the student (subscriber) role from cache, but this would also affect unwanted pages.
Adding the affected pages to “Do Not Cache URIs” would be a better solution.
The BEST way to do this would be using ESI, but this might require some custom development.
The plugin developers could also add default compatibility with LearnDash as they did with Woocommerce, but this is up to them.
-
This reply was modified 3 years, 8 months ago by Old account.