• Resolved avege1

    (@avege1)


    I am trying to create quizzes form my courses but can’t add any question. Every time I click on “Add question” nothing happens, and it drops an error on console with the following:

    POST https://website.com/wp-admin/admin-ajax.php 500 (Internal Server Error) https://website.com/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=wp-hooks,jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.6.1

    When I look up the debug.log file this shows up:
    WordPress database error Unknown column 'answer_explanation' in 'field list' for query INSERT INTO wp_tutor_quiz_questions (quiz_id, question_title, question_description, question_type, question_mark, question_settings, question_order, answer_explanation) VALUES ('55098', 'Pregunta 1', '', 'true_false', '1', 'a:0:{}', '1', '') made by do_action('wp_ajax_tutor_quiz_builder_get_question_form'), WP_Hook->do_action, WP_Hook->apply_filters, TUTOR\Quiz->tutor_quiz_builder_get_question_form
    [31-Jul-2024 15:03:40 UTC] PHP Warning: Attempt to read property "question_settings" on null in /home/route/domains/website.com/public_html/wp-content/plugins/tutor/views/modal/question_form.php on line 13
    [31-Jul-2024 15:03:40 UTC] PHP Warning: Attempt to read property "question_type" on null in /home
    /route/domains/website.com/public_html/wp-content/plugins/tutor/views/modal/question_form.php on line 18
    [31-Jul-2024 15:03:40 UTC] PHP Warning: Attempt to read property "question_title" on null in /hom/route/domains/website.com/public_html/wp-content/plugins/tutor/views/modal/question_form.php on line 36

    And so on…

Viewing 1 replies (of 1 total)
  • Laura

    (@lauragon)

    Hi @avege1 ,

    I’m sorry to hear that you’re experiencing issues with adding questions to your quizzes. I’ve tested the functionality in my local environment, and it appears to be working fine.

    To address the problem on your end, please try the following steps:

    1. Delete the Tutor LMS Plugin: Go to your WordPress dashboard, navigate to the Plugins section, find the Tutor LMS plugin, and Delete it.
    2. Reinstall the Plugin: After deleting it, go back to the Plugins section, click “Add New,” search for “Tutor LMS,” and click “Install Now.” Once installed, make sure to activate the plugin.

    After performing these steps, please let me know if the issue still persists. If it does, provide any additional details or error messages, and I’ll be happy to assist further.

    Thank you for your patience!

    Regards
    Laura

    • This reply was modified 4 months ago by Laura.
    • This reply was modified 4 months ago by Laura.
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.