-
Notifications
You must be signed in to change notification settings - Fork 198
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cache issues with lesson ordering #7146
Comments
Support References This comment is automatically generated. Please do not edit it.
|
Related #6632 |
This user reports that Lesson and Module ordering resets after saving 8437141-zd-a8c |
User in #8437141-zen says they tried the fix above, but it didn't work for them:
|
8589276-zen
|
Steps to Reproduce
What I Expected
To see the lessons in the saved order.
What Happened Instead
The previous order is displayed.
The same issue happens if we sort the lessons through Sensei LMS > Lessons > Order Lessons, and check the order in the frontend (the order in the frontend will be cached).
PHP / WordPress / Sensei LMS version
PHP 8.1 / WordPress 6.3.1 / Sensei LMS 4.16.1
Browser / OS version
Chrome
Screenshot / Video
Screen.Recording.2023-09-01.at.11.50.12.mov
Context / Source
A while ago, I worked on #4236, fixing a related thing. The cause here is the same cache, but in different parts of the code. Since it's been a while, I don't remember exactly the causes in the core, but maybe going deeper into the issue again, we could find a better solution. If not, a short-term solution could be always avoiding the cache in that situation, but I'm not sure about performance complications.
More context:
The text was updated successfully, but these errors were encountered: