Home › Forums › Legacy Support › Support queries › How-to & Troubleshooting › Quiz Not Displaying Answers
Tagged: Quiz Not Answering, quiz not evaluating
- This topic has 11 replies, 3 voices, and was last updated 5 years, 3 months ago by logan.
Viewing 12 posts - 1 through 12 (of 12 total)
-
AuthorPosts
-
January 18, 2019 at 9:52 pm #193018jmu289ParticipantHello, I'm having a strange issue with one of my quizzes. I will provide more details and video in private reply following this message.January 18, 2019 at 10:05 pm #193019jmu289ParticipantThis reply has been marked as private.January 19, 2019 at 5:38 pm #193091loganMemberhey, this is weird issue. this could be a cache issue. please try deactivating the all 3rd party plugins and delete the browsers cache. re-save permalinks. and check if issue is resolved. else share the user's credentials in a private reply so that i can replicate the issue at my end.January 21, 2019 at 3:27 pm #193241jmu289ParticipantThis reply has been marked as private.January 21, 2019 at 11:48 pm #193279jmu289ParticipantThis reply has been marked as private.January 22, 2019 at 12:11 am #193281jmu289ParticipantThis reply has been marked as private.January 22, 2019 at 12:02 pm #193370loganMemberHey jmy, i have created new user as logan to test the issue. i gave him student role. i took the course quiz and it worked fine for me. here is the video: https://screencast-o-matic.com/watch/cqV3X830E6 *you can clearly check the correct answer and its explanation could be seen by click on accordion sign. Because of its wide space and dull color, i could not see that at first time. ***please let me know which caching & web host you are usingJanuary 22, 2019 at 12:35 pm #193383Anshuman SahuKeymasterFixed it by adding this code : add_filter('wplms_get_answer_object_meta_query',function($settins){ unset($settins['meta_query']); return $settins; }); refer : http://prntscr.com/majm0s but with this there might be issues appear using same question in multiple quizzes.January 22, 2019 at 1:33 pm #193395jmu289ParticipantThis reply has been marked as private.January 23, 2019 at 11:29 am #193537loganMemberWell in some sites the comment meta query : a query which fetches the marked answer of the user for that question in that quiz fails . We are using wordpres Wp_comment_query to fetch the answer but it fails when provides meta argument in it . We do not know the exact reason behind it but this seems to wordpress internal issue and this happens only in some sites not all . It does work fine on all of our demo setups as well as local setups . So to prevent that we remove the quiz connection with user answer to question and it began to fetch the marked answer. This quick fix removes the ability to use same question across multiple quizzes . If same question is used it might appear to be already marked for the user in some other quiz if user has already marked it in a quiz . This usually happens if user does quizzes in multiple courses having common questions in one go .January 24, 2019 at 12:01 pm #193714jmu289ParticipantThank you. Could this be caused be a different “custom field” meta data plugin that I am using? i was using the custom field suit plugin: https://wordpress.org/plugins/custom-field-suite/ could that be the source of the issue or is that unrelated? if I Determine this is the issue, should I remove the code that you added? Or can I leave this code and it willl not cause other issues?January 25, 2019 at 7:30 am #193846loganMemberWell, Yeah it is possible that is conflicting with the normal flow of wplms. Remove the given codes above. you can check this by deactivating / activating that plugin again, test if quizzes work fine without plugin and also check if it not with plugin. *If you find that quizzes is not working while plugin is activated then add given codes in your customiser if it works. let me know if topic is resolved.
-
AuthorPosts
Viewing 12 posts - 1 through 12 (of 12 total)
- The topic ‘Quiz Not Displaying Answers’ is closed to new replies.