LifterLMS Video Not Playing? How to Fix Lesson Videos
Work out why a LifterLMS lesson video is blank, blocked or will not play: wrong embed URLs, privacy and domain settings, referrer policies…
Read articleWhy LifterLMS reporting screens, exports and admin pages slow down as enrollments grow, how to measure what is actually slow, and the fixes that work: updates, background processing, caching, settings, server sizing and targeted custom reports.
Slow LifterLMS reporting is a sign of success. A site with a few hundred students loads its reports instantly. A few years and tens of thousands of enrollments later, the course students table takes ages, exports time out, the Users screen crawls and the WordPress dashboard feels heavy for everyone on the team.
This guide is for site owners and developers running LifterLMS at that scale. It explains where LifterLMS keeps its reporting data, how to find out what is slow before changing anything, and the fixes that work, from free settings changes to custom reporting. It focuses on the admin and reports. For front-end speed, see how to speed up a LifterLMS site.
LifterLMS stores learning data in a few places, and each grows at its own rate:
lifterlms_user_postmeta table holds enrollment status, lesson and course completions and similar per-student records. Every enrollment and every completed lesson adds rows. It is usually the largest LifterLMS table.lifterlms_quiz_attempts table stores every attempt with its questions and answers.lifterlms_events and lifterlms_lesson_time_sessions tables hold activity tracking and lesson time data.Reports either read those tables directly, which gets slower as they grow, or read pre-calculated values. Course-level figures such as average progress, average grade and enrolled students are calculated by a background process and stored on the course, so they do not have to be worked out on every page load. When that background process does not run, the numbers go stale and screens that depend on them suffer.
"Reporting is slow" can mean several different problems. Find out which one you have.
Measuring on a staging copy with production data is best. Reporting problems often do not appear on a staging site with a hundred test students.
Recent releases include specific reporting performance work, so an outdated install is the cheapest problem to fix. According to the changelog, LifterLMS 10.2.0:
Update on staging, run any database update LifterLMS asks for, and re-time your slow screens before doing anything else.
LifterLMS relies on background tasks for course data calculations, delayed engagements, recurring payments and more. They run through WordPress's scheduled task system, which by default only runs when someone visits the site.
Our article on recurring payments not processing covers scheduled task problems from the payments side.
For courses with 500 or more students, LifterLMS throttles the course data calculation so it runs at most once every four hours per course. Both numbers can be changed with filters. On a very large site you might reduce how often the heaviest courses are recalculated, accepting slightly older averages in exchange for less background load:
<?php
/**
* Plugin Name: LLMSX Course Data Throttle
*/
// Throttle course data calculations for courses with 300+ students.
add_filter( 'llms_data_processor_course_data_throttle_count', 'llmsx_course_data_throttle_count' );
function llmsx_course_data_throttle_count( $number_students ) {
return 300;
}
// Recalculate throttled courses at most every 12 hours.
add_filter( 'llms_data_processor_course_data_throttle_frequency', 'llmsx_course_data_throttle_frequency' );
function llmsx_course_data_throttle_frequency( $seconds ) {
return 12 * HOUR_IN_SECONDS;
}
Change these only after measuring. If your problem is reports that are too slow to load, not background load, this filter will not help.
Many LifterLMS lookups use the WordPress object cache. Without a persistent backend, that cache is thrown away at the end of every request, so admin screens repeat the same queries over and over. Redis or Memcached, offered by most managed hosts, keeps those results between requests and often has the single biggest effect on admin speed.
Use a current LifterLMS version with it: the 10.2.0 changelog lists fixes for stale cached values under Redis and Memcached. Our guide to LifterLMS object caching with Redis covers setup and the pitfalls.
| Area | What to change | Why it helps |
|---|---|---|
| Reporting date ranges | Use Last 7 Days or a short Custom range on the Sales and Enrollments tabs | Each widget queries the whole range you choose |
| Large tables | Search for the student or course you need instead of paging through everything | Fewer rows, cheaper queries |
| Exports | Run large CSV exports outside peak hours, one at a time | Exports page through every enrolled student |
| Frequency of Saving Tracked Events | Keep it at "Minimum" unless you need real-time accuracy | The setting's own description notes "Always" means "more server load" |
| Track Time on All Lessons | Leave it off unless you report on time for every lesson | Time tracking sends periodic requests from every open lesson |
| Users screen | Show fewer users per page in Screen Options | LifterLMS adds Last Login and Enrollments columns that are worked out per user row |
Also check the WordPress dashboard itself. Every plugin can add widgets that run queries on every visit to the dashboard. Remove the ones nobody reads.
Once the application side is tidy, the remaining gains come from infrastructure:
Be careful with custom database indexes. They can help specific reporting queries, but they should be designed against measured slow queries, tested on staging and documented, because a LifterLMS database update may need to account for them. For architecture-level changes, see scaling LifterLMS for large sites.
Sometimes the problem is not speed but what you are asking the screens to do. Paging through 40,000 students to answer "who in the Northern region has not finished compliance training" will always be slow and awkward. Better options:
No. The tool's own description says it does not affect actual student progress. It only clears cached values used on reporting screens, which are regenerated when next needed.
They are calculated in the background, and large courses are recalculated at most every four hours by default. If they never update, check that scheduled tasks are running.
There is no fixed limit. Sites with very large numbers of enrollments run well with current versions, a persistent object cache, reliable cron and a properly sized database. Performance depends far more on hosting and reporting habits than on a student count.
Not as a first step. They are often needed for records, disputes or compliance. Fix caching, background tasks and server sizing first, and only archive data with an agreed retention policy.
Update LifterLMS on staging, measure the slow screens with Query Monitor, confirm that scheduled tasks are running, and add a persistent object cache. On most large sites those four steps produce the biggest improvement.
If reports are still too slow, or you need reporting that the built-in screens were never designed for, our LifterLMS optimization service profiles your site with real data and fixes the bottlenecks, and builds targeted reports where they are the better answer. Get in touch with a list of the screens that hurt most.
Work out why a LifterLMS lesson video is blank, blocked or will not play: wrong embed URLs, privacy and domain settings, referrer policies…
Read article
Which LifterLMS jobs depend on WP-Cron and the Action Scheduler, how to tell whether your scheduler is broken, and how to replace unreliable WP-Cron…
Read article
Why LifterLMS certificates are not awarded, show blank names or stale details, or print and export badly, and how to fix each case: engagement…
Read articleSkip the trial and error. Get specialist LifterLMS help and ship faster.