por cristian canelo.
Hola amigos, estoy utilizando Moodle para el colegio donde trabajo y se me presentó el problema cuando los profesores crean cuestionarios con preguntas de selección múltiple calculada, luego de escribir las respuestas posibles y apretar guardar cambios me arroja el mensaje:
Error al leer de la base de datos
Error
Debug info: COLLATION 'utf8mb4_bin' is not valid for CHARACTER SET 'utf8'
SELECT a.*
FROM rxx7_question_dataset_definitions a, rxx7_question_datasets b
WHERE a.id = b.datasetdefinition AND a.type = '1' AND b.question = ? AND a.name COLLATE utf8mb4_bin = ?
[array (
0 => 34,
1 => 'a',
)]
Error code: dmlreadexception
SELECT a.*
FROM rxx7_question_dataset_definitions a, rxx7_question_datasets b
WHERE a.id = b.datasetdefinition AND a.type = '1' AND b.question = ? AND a.name COLLATE utf8mb4_bin = ?
[array (
0 => 34,
1 => 'a',
)]
Error code: dmlreadexception
luego mas abajo:
Stack trace:
- line 486 of /lib/dml/moodle_database.php: dml_read_exception thrown
- line 1175 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
- line 1558 of /lib/dml/moodle_database.php: call to mysqli_native_moodle_database->get_records_sql()
- line 1488 of /question/type/calculated/questiontype.php: call to moodle_database->get_record_sql()
- line 1135 of /question/type/calculated/questiontype.php: call to qtype_calculated->dataset_options_from_database()
- line 523 of /question/type/calculated/questiontype.php: call to qtype_calculated->dataset_options()
- line 619 of /question/type/calculated/questiontype.php: call to qtype_calculated->preparedatasets()
- line 264 of /question/question.php: call to qtype_calculated->save_question()
Ojalá amigos me puedan ayudar. Muchas Gracias