Moodle Plugins directory: Wiris Quizzes Commons question type | Moodle.org

Wiris Quizzes Commons question type
Question types ::: qtype_wq
Maintained by
WIRIS team
Part of set WIRIS math & science.
Wiris Quizzes Commons question type is the engine needed for each WIRIS question type to work properly. It is a necessary component for all Wiris Quizzes question types.
Latest release:
2374 sites
537 downloads
39 fans
Current versions available: 1
Wiris Quizzes Commons question type is the engine needed for each WIRIS question type to work properly. It is a necessary component for all WIRIS Quizzes question types.
Please install Wiris Quizzes to obtain the entire plugin package with seven question types:
Wiris Quizzes True/False question type
Wiris Quizzes Short-Answer question type
Wiris Quizzes Embedded answer (Cloze) question type
Wiris Quizzes Multi Choice question type
Contributors
WIRIS team (Lead maintainer)
Please login to view contributors details and/or to contact them
https://integration.moodle.org/job/Precheck%20remote%20branch/30165/artifact/work/smurf.html
qtype_wq_cron 3.78.2 (2020061600)
PHP Notice: Use of legacy cron is deprecated (qtype_wq_cron). Please use scheduled tasks.* line 3480 of /lib/deprecatedlib.php: call to debugging()
* line 169 of /lib/classes/task/legacy_plugin_cron_task.php: call to cron_execute_plugin_type()
* line 248 of /lib/cronlib.php: call to core\task\legacy_plugin_cron_task->execute()
* line 120 of /lib/cronlib.php: call to cron_run_inner_scheduled_task()
* line 73 of /lib/cronlib.php: call to cron_run_scheduled_tasks()
* line 79 of /admin/cli/cron.php: call to cron_run() in
We have a problem with qtype_wq php classes. After upgrading to Moodle 3.9 and PHP 7.4.11 we get similar errors in out tests.
Here is one example:
uncaught exception: Class 'com_wiris_quizzes_impl_ConfigurationImpl' not found
in file: /srv/moodle/public_html/question/type/wq/quizzes/lib/com/wiris/quizzes/impl/QuizzesBuilderImpl.class.php line 678
#0 /srv/moodle/public_html/question/type/wq/quizzes/lib/com/wiris/quizzes/wrap/QuizzesBuilderWrap.class.php(25): com_wiris_quizzes_impl_QuizzesBuilderImpl->getConfiguration()
#1 /srv/moodle/public_html/question/type/wq/quizzes/lib/com/wiris/quizzes/wrap/QuizzesBuilderWrap.class.php(13): com_wiris_quizzes_wrap_QuizzesBuilderWrap->setReferrerPHP()
#2 /srv/moodle/public_html/question/type/wq/quizzes/lib/com/wiris/quizzes/wrap/QuizzesBuilderWrap.class.php(336): com_wiris_quizzes_wrap_QuizzesBuilderWrap->__construct()
#3 /srv/moodle/public_html/question/type/wq/quizzes/lib/com/wiris/quizzes/api/QuizzesBuilder.class.php(62): com_wiris_quizzes_wrap_QuizzesBuilderWrap::getInstance()
#4 /srv/moodle/public_html/question/type/wq/questiontype.php(122): com_wiris_quizzes_api_QuizzesBuilder::getInstance()
#5 /srv/moodle/public_html/question/type/essaywiris/questiontype.php(73): qtype_wq->initialise_question_instance(Object(qtype_essaywiris_question), Object(stdClass))
#6 /srv/moodle/public_html/question/type/questiontypebase.php(872): qtype_essaywiris->initialise_question_instance(Object(qtype_essaywiris_question), Object(stdClass))
#7 /srv/moodle/public_html/question/engine/bank.php(288): question_type->make_question(Object(stdClass), false)
#8 /srv/moodle/public_html/question/engine/bank.php(278): question_bank::make_question(Object(stdClass))
#9 /srv/moodle/public_html/mod/quiz/classes/structure.php(204): question_bank::load_question('8574689')
#10 /srv/moodle/public_html/mod/quiz/classes/output/edit_renderer.php(543): mod_quiz\structure->can_finish_during_the_attempt('1')
#11 /srv/moodle/public_html/mod/quiz/classes/output/edit_renderer.php(510): mod_quiz\output\edit_renderer->question_row(Object(mod_quiz\structure), '1', Object(question_edit_contexts), Array, Object(moodle_url))
#12 /srv/moodle/public_html/mod/quiz/classes/output/edit_renderer.php(94): mod_quiz\output\edit_renderer->questions_in_section(Object(mod_quiz\structure), Object(stdClass), Object(question_edit_contexts), Array, Object(moodle_url))
#13 /srv/moodle/public_html/mod/quiz/edit.php(211): mod_quiz\output\edit_renderer->edit_page(Object(quiz), Object(mod_quiz\structure), Object(question_edit_contexts), Object(moodle_url), Array)
#14 {main}
Right now i have tried to include class paths manually, but it's not working and gets stuck on including interfaces.
Exception - Trying to get property 'content' of non-object (errno: 8) in [dirroot]/question/type/wq/quizzes/lib/com/wiris/quizzes/impl/AuthorAnswerImpl.class.php at line #87
More information about this error
×Debug info:
Error code: generalexceptionmessage
×Stack trace:
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()
My plugin is the last one 4.8.1
I succeed to solve the problem by going Moodle.
But i had to go back to Moodle 3.11 because my quesiton Bank is too slow in 4.0
Do you have any idea where the problem come from ?