All data must be stored in Unicode format (UTF-8). For new installations, the database must have UTF-8 as default character set. If you are upgrading, you need to follow the UTF-8 migration process.
Information from https://coderwall.com/p/py-nba/moodle-easy-solution-to-failed-to-unserialise-data-from-file-either-failed-to-read-or-failed-to-write
--- analysis_for_class.php.orig 2014-05-15 15:31:31.938393184 +0900
+++ analysis_for_class.php 2014-05-15 15:32:04.524281160 +0900
@@ -107,7 +107,8 @@
return true;
} else if (count($this->actualresponses) == 1) {
$onlyactualresponse = reset($this->actualresponses);
- return (string)$onlyactualresponse != $this->modelresponse;
+ return !$onlyactualresponse->response_matches($this->modelresponse);
+ //return (string)$onlyactualresponse != $this->modelresponse;
}
return false;
}