bumoodle / moodle-qtype_multianswerbu

Multi-answer (cloze) questions modified to utilize BU question types
0 stars 0 forks source link

Form uses outdated API referencing quiz_question_instances #1

Closed ktemkin closed 10 years ago

ktemkin commented 10 years ago

When trying to save a Multianswer/BU question type, the following message occurs:

Table "quiz_question_instances" does not exist

That's an error message, but don't panic- we're on it!
We've already taken a record of what happened, so the administrators (and your instructor) can look in to what's going on.

If you contact support (or your instructor), include this number: 
Record number: 0238bbbad7774900ccc9227f0b4fe9d6362f8b41

Debug info: 
Error code: ddltablenotexist
Stack trace:
line 585 of /lib/dml/moodle_database.php: dml_exception thrown
line 1255 of /lib/dml/moodle_database.php: call to moodle_database->where_clause()
line 67 of /question/type/multianswerbu/edit_multianswerbu_form.php: call to moodle_database->get_records()
line 217 of /question/type/questiontypebase.php: call to qtype_multianswerbu_edit_form->__construct()
line 188 of /question/question.php: call to question_type->create_editing_form()
Output buffer: <br /> <b>Strict Standards</b>: Declaration of qtype_multianswerbu::initialise_question_instance() should be compatible with question_type::initialise_question_instance(question_definition $question, $questiondata) in <b>/srv/www/moodle/question/type/multianswerbu/questiontype.php</b> on line <b>0</b><br /> <br /> <b>Strict Standards</b>: Declaration of qtype_scripted_question::format_text() should be compatible with question_definition::format_text($text, $format, $qa, $component, $filearea, $itemid, $clean = false) in <b>/srv/www/moodle/question/type/scripted/question.php</b> on line <b>70</b><br />
ktemkin commented 10 years ago

Pulled in code from the core Multianswer to cover this error; closing with minimal tests.