• Resolved Richard Leherpeur

    (@richardlhr)


    PHP 7.4
    Wordpress 5.7.2
    Sensei LMS 3.11.0

    Step to reproduce:
    – Create a Course
    – Add a lesson named “Lesson 1”
    – Add a lesson named “Lesson 3”
    – Add a lesson named “Lesson 2”
    – Publish Course and all Lessons
    – Go to Lessons > Order Lessons and move Lesson 2 in second position
    – Edit Lesson 2 and click update button
    – Lessons order is now lost and reset to the lesson creation dates (ie Lesson 2 is now 3rd again)

    Workaround: In database, update the lessons post_date in the wp_posts table to make them create in the right chronological order (ie lesson 1 post date < lesson 2 post_date < lesson 3 post_date).

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @richardlhr ,

    My apologies for the delay in responding here!

    I just tested this and I’m not able to duplicate the lesson ordering problem; if I re-order the lessons and save, the new order is preserved.

    How are you creating lessons? Ie, are you creating them via the course block, or are you using Classic Editor?

    Are you using 3.11.1? If you’re still having this problem, would you try the following steps so we can find out more about the problem?

    1. Open the Lesson->Order Lessons page.
    2. Open your browser console by following this guide: https://www.ads-software.com/support/article/using-your-browser-to-diagnose-javascript-errors/#step-3-diagnosis
    3. Click on the Network tab
    4. Refresh the page.
    5. Reorder the lessons.
    6. If you see any lines in red inside the browser console, click on them. A new panel should appear on the right.
    7. Click on the “Response” tab in that new panel.
    8. Copy the message displayed there.
    9. Paste it in a reply to this email.
    10. If no red lines appeared in the browser console, click on the “Console” tab of the browser console.
    11. Copy any errors displayed there, and send them back to me.

    Best,

    Hello,

    We did find and fix an issue with lesson order not saving when object caching is used. I’d recommend updating to Sensei 3.12 and trying again.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Lessons lose ordering upon update’ is closed to new replies.