-
Bug
-
Resolution: Duplicate
-
Critical
-
None
-
2.0.1
-
None
-
MOODLE_20_STABLE
am using moodle 2.0.1 when I try collapse the categories on the grade book I get Error writing to database with a button that says continue. If I click on the continue it takes me back to the main site.
Debug info: Data too long for column 'value' at row 1
UPDATE mdl_user_preferences SET value = ? WHERE id = ?
[array (
0 => 'a:2:{s:14:"aggregatesonly";a:13:
s:10:"gradesonly";a:4:{i:0;s:2:"69";i:1;s:3:"205";i:2;s:3:"217";i:3;s:3:"221";}}',
1 => '806',
)]
Stack trace:
line 394 of /lib/dml/moodle_database.php: dml_write_exception thrown
line 1046 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
line 1441 of /lib/dml/moodle_database.php: call to mysqli_native_moodle_database->set_field_select()
line 1416 of /lib/moodlelib.php: call to moodle_database->set_field()
line 1518 of /grade/report/grader/lib.php: call to set_user_preference()
line 104 of /grade/report/grader/index.php: call to grade_report_grader::process_action()