• Resolved baselahmad

    (@baselahmad)


    I have created a website using Tutor LMS, and everything is working fine overall. The website contains several lessons for each unit, and at the end of each unit, there is a quiz.

    However, some students have reported an issue where, after completing the quiz and moving on to the next lesson, they are redirected back to the quiz. The system tells them that they need to finish the quiz, even though they have successfully passed it.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter baselahmad

    (@baselahmad)

    This happens when student click on
    Continue Learning

    Plugin Support Md Rashed Hossain

    (@wprashed)

    Hi,

    Thank you for bringing this issue to our attention. This type of problem can occur if you are using caching or optimization plugins on your website, as they may interfere with the quiz progress tracking.

    I recommend clearing the cache and temporarily disabling any caching or optimization plugins to see if this resolves the issue. If the problem persists, feel free to reach out for further assistance!

    Best regards,
    Rashed Hossain. Lead, Tech Support.

    Thread Starter baselahmad

    (@baselahmad)

    I only have the main plugins installed.

    https://snipboard.io/U5ntyo.jpg

    I have a course that includes lessons and a quiz. After completing the first unit and passing the quiz for that unit, I move on to the second unit and complete a couple of lessons.
    https://snipboard.io/6L94Rv.jpg

    However, when I return to the course later and click on ‘Continue Course,

    https://snipboard.io/XJWp3L.jpg

    it takes me back to the first unit’s quiz, even though it should take me to the lesson3 in the second unit

    https://snipboard.io/fMr0kK.jpg

    • This reply was modified 2 months, 1 week ago by baselahmad.
    • This reply was modified 2 months, 1 week ago by baselahmad.
    • This reply was modified 2 months, 1 week ago by baselahmad.

    Hi @baselahmad ,

    Thank you for reaching out, and we apologize for the inconvenience caused.

    To resolve the issue, kindly replace the following lines of code in your Tutor LMS:

    1. Navigate to:
      wp-content->plugins->tutor->classes->Utils.php
    2. Replace the lines between 1450 and 1454 with the following:
    $has_attemp = $this->has_attempted_quiz($user_id, $lesson->ID);
    if (! $is_complete && ! $has_attemp) {
        $first_lesson = $lesson;
        break;
    }

    This should help ensure that when you click ‘Continue Course,’ it takes you to the correct lesson instead of returning to the first unit’s quiz.

    Thank you for your understanding. If you have any further questions or need additional assistance, please don’t hesitate to reach out.

    Best regards,
    Taufik Hasan

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.