Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecated message and error after upgrading #59

Open
amandadoughty opened this issue Nov 18, 2021 · 4 comments
Open

Deprecated message and error after upgrading #59

amandadoughty opened this issue Nov 18, 2021 · 4 comments

Comments

@amandadoughty
Copy link

Hi
We have upgraded to the latest code and now our uses are getting the attached deprecation message which is very concerning. And also the attached error.
Capture1
Capture (1)

@amandadoughty
Copy link
Author

line 197 of /question/type/wq/quizzes/lib/com/wiris/quizzes/wrap/QuizzesWrap.class.php: HException thrown
line 79 of /question/type/wq/question.php: call to com_wiris_quizzes_wrap_QuizzesWrap->newVariablesRequestWithQuestionData()
line 39 of /question/type/shortanswerwiris/question.php: call to qtype_wq_question->start_attempt()
line 364 of /question/behaviour/behaviourbase.php: call to qtype_shortanswerwiris_question->start_attempt()
line 1064 of /question/engine/questionattempt.php: call to question_behaviour->init_first_step()
line 582 of /question/engine/questionusage.php: call to question_attempt->start()
line 256 of /mod/quiz/locallib.php: call to question_usage_by_activity->start_all_questions()
line 2459 of /mod/quiz/locallib.php: call to quiz_start_new_attempt()
line 113 of /mod/quiz/startattempt.php: call to quiz_prepare_and_start_new_attempt()

@amandadoughty
Copy link
Author

Further testing has shown that the error does not occur in Moodle 3.9.10 but is introduced with the upgrade to Moodle 3.9.11

@amandadoughty
Copy link
Author

We have got rid of the error by finding the question that causes it and re-saving it. However the question is still not working correctly. When it is viewed and the green and white cog button is pressed, we get lots of JS errors.

Our user thinks that it is affecting quizzes that were open before the upgrade to 3.9.11 and closed after?

@amandadoughty
Copy link
Author

Screenshot from 2021-11-18 16-45-27

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant