LearnDash Design & Tutorials

LearnDash Design & Tutorials

How to Fix Lessons Changing Order in Course Builder: Disable LearnDash Transients

Affiliate Disclosure: We may be compensated if you use our links to make a purchase. We are extremely selective in who we partner with & only recommend products we believe in. Our affiliate relationships do not influence our recommendations.

Are your lessons jumping around in the LearnDash course builder? Do your section headings not appear in the correct place? Does the order of your lessons in the course builder not match what you’re seeing on the frontend of your site?

This issue has been reported by quite a few LearnDash users since the launch of the course builder in LearnDash 3.0. It happens with some courses and not with others; some times and not during others; with lessons, topics and could possibly happen with both.

Here’s the best solution we can offer to fix the random placement of lessons & topics in the LearnDash course builder.

UPDATE: April 2, 2021
As of version 3.4, a LearnDash representative said that transients are disabled by default. This means you likely don’t need to use the solution below if you’re using LearnDash 3.4 or above.

The Solution

The only solution that we’re aware of right now is to disable LearnDash transients.

UPDATE: March 13, 2021
The PowerPack for LearnDash plugin will let you disable transients with one click.

This will require a little bit of code. If you’re not comfortable editing code, you might want to hire a developer or ask for help. It is only one line of code, but it requires editing a very important file that could impact your entire site. Please be careful.

You need to add the following line to the wp-config.php file, found in the root directory of your WordPress site.

define( 'LEARNDASH_TRANSIENTS_DISABLED', true );

Insert that code directly above the line that says /* That's all, stop editing! Happy blogging. */

It should look like this:

Disable LearnDash transients code

How to Edit the wp-config.php File

There are multiple ways to edit this file. It will vary based on the hosting company you use, and some hosts might even prevent you from editing it. You can reach out to their support and ask them to do it for you.

WARNING
Again, if you’re not comfortable with this, please ask for help. If you forget a comma or a semicolon, it could bring down your entire site.

SFTP

SFTP allows you to download files from your web server to your local computer, make changes to them, then upload the new file back to the server. There are many free SFTP programs out there that you can use. These vary based on Windows vs. Mac operating systems. I prefer FileZilla.

Complete instructions here →

cPanel

If your host uses cPanel for its control panel, there is usually a “File Manager” module you can use. I won’t go into detail on how to do this, but this article has a good tutorial.

SSH

This is a more technical way to edit files on your server. I won’t be covering it in this article, but you can search for it if you’re curious. Here’s a good tutorial →


Once you’ve saved & reuploaded the file, resave the course page you were having issues with. See if the reordering is still occuring.

I haven’t been able to independently confirm this works, so if it works for you, PLEASE 🙏 let us know in the comments.

Sponsor

Finally Revealed...

NEW breakthrough solution allows you to IMMEDIATELY GROW student engagement and revenue per student by creating a state of the art mobile application in UNDER 60 MINUTES without ANY coding knowledge!

5 out of 5 stars

Proven and tested by over 1,000 LearnDash customers.

Get your LearnDash Mobile App →

Previous

Remove Scrollbar When Focus Mode Sidebar is Collapsed

Next

LearnDash & the SG Optimizer Plugin 🙅‍♀️

11 Comments

  1. Janie

    FYI I’m using Learndash 3.5 and I’m still having to use this, so I’m not sure it is fixed in 3.4+

    Thanks for the tip, this was really helpful!

    • Hi Janie – Yeah, as of October 4th and LearnDash version 3.5, quite a few people are still experiencing this issue. LearnDash just released version 3.5.1 on October 5th and the changelog mentions something that addresses this. Hopefully that will resolve the issue for at least some people.

  2. jeff bridgesharrison

    thanks for this blog post, we had the same issue, and were trying to figure out if someone was fiddling with the order, great to see its finally fixed.

  3. Still the same for me. I am trying adding the code. Let’s see if works. I am using LD with BuddyBoss.

    • Hi Deborah – There’s actually a bug specific with BuddyBoss. They are working on a fix but I don’t think they’ve released it yet. If you’re using LearnDash 3.5.1 or higher, you shouldn’t need to use the code. Once BuddyBoss releases a fix, it should work for you again.

    • Leandro

      Hi Deborah, were you able to solve this problem?

  4. Leandro

    Hi Dave! I am using WPAstra with LearnDash and still have this problem. Could you help me?

    • Hi Leandro – Unfortunately, I cannot. This has been an ongoing issue for many people using LearnDash over the span of at least 3 years. And you’re not the only one still experiencing issues. No one has been able to confirm why it happens, and although LearnDash has mentioned they fixed it a few times with updates to the plugin, it still seems to be an issue.

      If I had any more ideas or tips, I’d give them to you. But I’m as puzzled as everyone else as to why this is still occurring. The only option I can give you is to contact LearnDash support.

  5. Tim

    Hi Dave,

    Just thought I’d share we’re still hitting issues with this for a client – using LearnDash v4.3.0.2, as well as BuddyBoss v2.0.8 and BuddyBoss Pro v2.1.1.

    • Tim – I appreciate the update, as well as the specifics you provided. And I’m sorry you’re still having an issue.

      I have heard from some people that they gave LearnDash support access to their site, and they were able to fix the issue. It might be worth a try if you haven’t already.

      I wish we knew exactly what causes this, but I have never heard an explanation from LearnDash, even with how widespread of a problem it has been for years 🤷‍♂️.

Leave a Reply

Your email address will not be published. Required fields are marked *

Powered by WordPress & Theme by Anders Norén