LifterLMS Quiz Not Working? Fixes for Loading, Saving and Grading

A troubleshooting guide for LifterLMS quizzes that will not start, lose answers, time out, run out of attempts or grade in surprising ways, with the exact messages, the settings behind them and the fixes.

  • Add as a preferred source on Google
Illustration for “LifterLMS Quiz Not Working? Fixes for Loading, Saving and Grading”

When a LifterLMS quiz is not working, students notice immediately and they write to you. The quiz shows a blank area, the spinner never stops on "Loading Question...", an answer disappears, the timer submits an unfinished attempt, or the grade is not what anyone expected.

This guide is for course owners and developers who need to diagnose that quickly. It groups quiz problems by symptom, quotes the messages LifterLMS shows, explains the setting or behaviour behind each one, and gives the fix. It assumes you know how to build a quiz. If not, start with how to create quizzes in LifterLMS.

Quiz will not start or shows a blank area

Most "the quiz is broken" reports turn out to be access rules working as designed. Check these in order.

You are testing as a user who is not enrolled

LifterLMS only lets enrolled students take a quiz, and that includes administrators. The LifterLMS documentation has an article titled "Help, my brand new quiz is blank when I try to take it!" for exactly this reason. Enroll a test student and test as that student in a private browser window.

The quiz is a draft or has no questions

A quiz must be switched to Published in the course builder. If it has no questions, students see "Unable to start quiz because the quiz does not contain any questions."

The lesson has a minimum time

If the lesson has Enable Minimum Time switched on, starting the quiz before that time has passed shows "You must spend the required minimum time on the lesson before taking the quiz." Students need to stay on the lesson until the timer finishes. Our guide to lesson time tracking explains how that time is counted.

Attempts have run out, or the quiz was already passed

With Limit Attempts on, a student who has used them all sees "You've reached the maximum number of attempts for this quiz." With Disable Retake on, the quiz closes for anyone who has passed. Both are covered under attempts below.

The lesson itself is locked

A quiz inherits its lesson's drip date and prerequisites. If the lesson is not available yet, neither is the quiz.

Quiz stuck on loading or answers not saving

LifterLMS quizzes run in the browser. Starting an attempt, loading each question and recording each answer are separate background requests to WordPress's admin-ajax.php. When one of those requests fails, students see "An unknown error occurred. Please try again." or a loader that never finishes. Server-side failures show messages such as "There was an error recording your answer. Please return to the lesson and begin again."

The causes are usually outside LifterLMS:

  • Cached lesson pages. The quiz requests carry a security nonce printed into the page. If the lesson or quiz page was served from a page cache, that nonce can belong to another session or be expired, and the requests fail. Exclude course, lesson and quiz pages from page caching for logged-in users. See LifterLMS caching conflicts.
  • Script optimisation. Plugins that delay, defer or combine JavaScript can break the quiz script or load it after the student clicks. Exclude LifterLMS scripts from those features.
  • Firewalls and security plugins. A rule that blocks or rate-limits admin-ajax.php will interrupt the quiz partway through. In the browser's Network tab a blocked request shows as 403 or 429.
  • Session expiry. If the student's login expires mid-quiz, the next request fails with "You must be logged in to take quizzes."
  • A JavaScript error from another plugin. Open the browser console on the quiz page. An error naming another plugin's file points to a conflict. Disable plugins one at a time on a staging copy to confirm which one.

"You must select an answer to continue." is not an error. LifterLMS requires an answer to each question before moving on.

Time limit problems

The Time Limit setting adds a countdown, labelled "Time Remaining". When it reaches zero, the quiz script completes the attempt with whatever has been answered. Three surprises come up repeatedly.

  1. Time keeps running when the student leaves. Closing the tab does not pause a timed attempt. A student who loses connection should return quickly.
  2. Timed quizzes cannot be resumed. Can be resumed only applies to quizzes without a time limit. If you turn on both, the time limit wins.
  3. Students who need extra time. LifterLMS has a per-student accommodation for this. Edit the student's WordPress user profile and, in the LifterLMS Profile section, tick "Allow unlimited quiz time for quizzes that have a time limit set". That student then takes timed quizzes without a countdown, while everyone else keeps the limit.

Resume problems

With Can be resumed on, a student can click "Save & Exit Quiz" and pick up later. An attempt can only be resumed when all of these are true:

  • The attempt is still incomplete.
  • It is the student's most recent attempt.
  • It was started within the resume window, which is 24 hours by default.

If a student starts a new attempt instead of resuming, the earlier resumable attempt is ended. On the attempt's reporting screen, administrators also have a Disable Resume Attempt button.

If your learners need longer than a day, a developer can change the window with the llms_quiz_attempt_resume_time_period filter, which takes a number of hours. Add it to a small custom plugin, not your theme:

<?php
/**
 * Plugin Name: LLMSX Quiz Resume Window
 */

add_filter( 'llms_quiz_attempt_resume_time_period', 'llmsx_quiz_resume_hours', 10, 2 );

/**
 * Allow incomplete quiz attempts to be resumed for 72 hours.
 *
 * @param int               $hours   Resume window in hours. Default 24.
 * @param LLMS_Quiz_Attempt $attempt The attempt being checked.
 * @return int
 */
function llmsx_quiz_resume_hours( $hours, $attempt ) {
	return 72;
}

Attempts and retake surprises

Attempt limits interact with other settings in ways that strand students.

  • Required pass plus limited attempts. If the lesson has Require Passing Grade on Quiz on and the student fails every allowed attempt, they cannot complete the lesson and the next lesson stays locked. Decide your policy in advance. To give one more try, delete an attempt from the reporting screen or raise the limit.
  • Abandoned attempts count. An attempt that was started and never finished still exists as an incomplete attempt. Tell students not to start a limited quiz until they are ready.
  • Disable Retake closes the quiz after a pass. Students who want to improve a passing grade cannot. That is the purpose of the setting, but students do not always expect it.

To hand an attempt back, go to LifterLMS > Reporting > Quizzes, open the quiz, open the attempt and click Delete Attempt. Deleting is permanent, so note the grade first if you need a record.

Grading surprises

Most grading complaints are the arithmetic working exactly as configured. These are the ones worth knowing.

SurpriseExplanation
"I got 4 out of 5 right and failed"The grade is points earned divided by points available. If questions carry different points, four correct answers can be under the Passing Percentage.
Multiple-answer question marked wrongWith Multiple Correct Choices, the student must select every correct choice and no wrong ones to earn the points. There is no partial credit in core.
Attempt shows "Pending Review"The quiz contains a question that needs manual grading, from the Advanced Quizzes add-on. The attempt has no pass or fail until an instructor reviews it.
Editing a question did not change old gradesEach attempt stores its questions, points and results when it is taken. Changing a question's points or correct answer later does not regrade earlier attempts.
Course grade does not match the quiz gradeThe course grade averages lesson grades using each lesson's weight, and uses the student's best attempt for each quiz.

The edited-question case catches many course owners. If you fix a mistake in an answer key after students have taken the quiz, existing attempts keep their original result. The fair options are to delete the affected attempts so students can retake, or to leave a review note explaining the correction. Our guide to quiz attempts, grading and results covers reviews in detail.

A quick diagnostic checklist

  1. Reproduce as a real enrolled test student in a private window, not as an administrator.
  2. Note the exact message, or that there is none.
  3. Check the quiz is published, has questions, and the lesson is unlocked.
  4. Check the browser console and Network tab while starting the quiz and answering a question.
  5. Bypass the cache, for example with a query string or by testing on staging with caching off.
  6. Look at the attempt under LifterLMS > Reporting > Quizzes to see its status, answers and dates.

Frequently asked questions

Why can I not take my own quiz as an admin?

Because you are not enrolled. LifterLMS requires enrollment in the course to take its quizzes, even for administrators. Enroll yourself or use a test student account.

How do I give one student more time on a timed quiz?

Edit their user profile and tick "Allow unlimited quiz time for quizzes that have a time limit set" in the LifterLMS Profile section. Core LifterLMS does not offer a per-student extension of a set number of minutes.

How do I reset a student's quiz attempts?

Delete attempts individually from the attempt screen in Reporting. Each deleted attempt is removed permanently and frees up one attempt if the quiz is limited.

Why does the quiz say "An unknown error occurred"?

A background request failed. The usual causes are page caching, a firewall blocking admin-ajax.php, a JavaScript conflict or an expired login. Check the browser's Network tab to see which request failed.

What to do next

Start with the checklist above. Access rules and caching explain most quiz problems, and both can be confirmed in minutes with a test student account. For assessment rules the settings cannot express, such as partial credit, per-student time extensions or regrading after an answer key change, the solution is custom development.

Our LifterLMS support team diagnoses quiz failures on a staging copy of your site, and our LifterLMS customization service builds the grading logic core does not include. Tell us what your students are seeing.

Add LifterLMS Expert to your preferred sources

Add lifterlmsexpert.com as a preferred source on Google, or open this article in your AI assistant to use it as a source.

  • Add as a preferred source on Google
Free consultation

Prefer expert help over DIY?

Skip the trial and error. Get specialist LifterLMS help and ship faster.

Talk to a LifterLMS Expert Explore our services

Replies within one business day