Tras confeccionar una estructura de evaluación mediante "Evaluaciones ponderadas" e intentar GUARDAR, se produce este error y no se graba.
Probado en un Moodle 4.1.7 (Build: 20231211).
Curso con actividades variadas.
Attempt to obtain a grade_category's associated grade_item without the category's ID being set.
line 2275 of /lib/grade/grade_category.php: call to debugging()
line 2261 of /lib/grade/grade_category.php: call to grade_category->get_grade_item()
line 235 of /lib/grade/grade_category.php: call to grade_category->load_grade_item()
line 86 of /grade/report/gradeconfigwizard/classes/multiplegradebook.php: call to grade_category->update()
line 48 of /grade/report/gradeconfigwizard/classes/multiplegradebook.php: call to gradereport_gradeconfigwizard\multiplegradebook->set_course_aggregation()
line 55 of /grade/report/gradeconfigwizard/processgradebook.php: call to gradereport_gradeconfigwizard\multiplegradebook->process()
Can not regrade non existing category
line 426 of /lib/grade/grade_category.php: call to debugging()
line 258 of /lib/grade/grade_category.php: call to grade_category->qualifies_for_regrading()
line 86 of /grade/report/gradeconfigwizard/classes/multiplegradebook.php: call to grade_category->update()
line 48 of /grade/report/gradeconfigwizard/classes/multiplegradebook.php: call to gradereport_gradeconfigwizard\multiplegradebook->set_course_aggregation()
line 55 of /grade/report/gradeconfigwizard/processgradebook.php: call to gradereport_gradeconfigwizard\multiplegradebook->process()
Can not update grade object, no id!
line 248 of /lib/grade/grade_object.php: call to debugging()
line 264 of /lib/grade/grade_category.php: call to grade_object->update()
line 86 of /grade/report/gradeconfigwizard/classes/multiplegradebook.php: call to grade_category->update()
line 48 of /grade/report/gradeconfigwizard/classes/multiplegradebook.php: call to gradereport_gradeconfigwizard\multiplegradebook->set_course_aggregation()
line 55 of /grade/report/gradeconfigwizard/processgradebook.php: call to gradereport_gradeconfigwizard\multiplegradebook->process()
Excepción - gradereport_gradeconfigwizard\multiplegradebook::move_grade_item_to_category(): Argument #1 ($gradeitemid) must be of type int, null given, called in [dirroot]/grade/report/gradeconfigwizard/classes/multiplegradebook.php on line 55
Información de depuración: Error code: generalexceptionmessage
Trazado de la pila (stack):
line 147 of /grade/report/gradeconfigwizard/classes/multiplegradebook.php: TypeError thrown
line 55 of /grade/report/gradeconfigwizard/classes/multiplegradebook.php: call to gradereport_gradeconfigwizard\multiplegradebook->move_grade_item_to_category()
line 55 of /grade/report/gradeconfigwizard/processgradebook.php: call to gradereport_gradeconfigwizard\multiplegradebook->process()
Attempt to obtain a grade_category's associated grade_item without the category's ID being set.
line 2275 of /lib/grade/grade_category.php: call to debugging()
line 2261 of /lib/grade/grade_category.php: call to grade_category->get_grade_item()
line 235 of /lib/grade/grade_category.php: call to grade_category->load_grade_item()
line 86 of /grade/report/gradeconfigwizard/classes/multiplegradebook.php: call to grade_category->update()
line 48 of /grade/report/gradeconfigwizard/classes/multiplegradebook.php: call to gradereport_gradeconfigwizard\multiplegradebook->set_course_aggregation()
line 55 of /grade/report/gradeconfigwizard/processgradebook.php: call to gradereport_gradeconfigwizard\multiplegradebook->process()
Can not regrade non existing category
line 426 of /lib/grade/grade_category.php: call to debugging()
line 258 of /lib/grade/grade_category.php: call to grade_category->qualifies_for_regrading()
line 86 of /grade/report/gradeconfigwizard/classes/multiplegradebook.php: call to grade_category->update()
line 48 of /grade/report/gradeconfigwizard/classes/multiplegradebook.php: call to gradereport_gradeconfigwizard\multiplegradebook->set_course_aggregation()
line 55 of /grade/report/gradeconfigwizard/processgradebook.php: call to gradereport_gradeconfigwizard\multiplegradebook->process()
Can not update grade object, no id!
line 248 of /lib/grade/grade_object.php: call to debugging()
line 264 of /lib/grade/grade_category.php: call to grade_object->update()
line 86 of /grade/report/gradeconfigwizard/classes/multiplegradebook.php: call to grade_category->update()
line 48 of /grade/report/gradeconfigwizard/classes/multiplegradebook.php: call to gradereport_gradeconfigwizard\multiplegradebook->set_course_aggregation()
line 55 of /grade/report/gradeconfigwizard/processgradebook.php: call to gradereport_gradeconfigwizard\multiplegradebook->process()
( ! ) Warning: Undefined array key "recitemid" in /var/www/html/moodle40/grade/report/gradeconfigwizard/classes/multiplegradebook.php on line 55
Call Stack
# Time Memory Function Location
1 0.0004 382000 {main}( ) .../processgradebook.php:0
2 0.0592 2308000 gradereport_gradeconfigwizard\multiplegradebook->process( $categories = ['jityk42i' => ['name' => 'Teoría', 'weight' => '6', 'recitem' => [...], 'items' => [...]], 'h5442a77' => ['name' => 'Laboratorios', 'weight' => '4', 'recitem' => [...], 'items' => [...]]] ) .../processgradebook.php:55
[Salta al contenido principal](http://moodle3.local/moodle40/grade/report/gradeconfigwizard/processgradebook.php?id=6&type=multiple#maincontent)
testMoodle4
Excepción - gradereport_gradeconfigwizard\multiplegradebook::move_grade_item_to_category(): Argument #1 ($gradeitemid) must be of type int, null given, called in [dirroot]/grade/report/gradeconfigwizard/classes/multiplegradebook.php on line 55
[Más información sobre este error](http://docs.moodle.org/401/es/error/moodle/generalexceptionmessage)
Información de depuración:
Error code: generalexceptionmessage×Descartar esta notificación
Trazado de la pila (stack):
line 147 of /grade/report/gradeconfigwizard/classes/multiplegradebook.php: TypeError thrown
line 55 of /grade/report/gradeconfigwizard/classes/multiplegradebook.php: call to gradereport_gradeconfigwizard\multiplegradebook->move_grade_item_to_category()
line 55 of /grade/report/gradeconfigwizard/processgradebook.php: call to gradereport_gradeconfigwizard\multiplegradebook->process()
Tras confeccionar una estructura de evaluación mediante "Evaluaciones ponderadas" e intentar GUARDAR, se produce este error y no se graba.
Probado en un Moodle 4.1.7 (Build: 20231211). Curso con actividades variadas.
( ! ) Warning: Undefined array key "recitemid" in /var/www/html/moodle40/grade/report/gradeconfigwizard/classes/multiplegradebook.php on line 55 -- 1 | 0.0004 | 382000 | {main}( ) | .../processgradebook.php:0 2 | 0.0592 | 2308000 | gradereport_gradeconfigwizard\multiplegradebook->process( $categories = ['jityk42i' => ['name' => 'Teoría', 'weight' => '6', 'recitem' => [...], 'items' => [...]], 'h5442a77' => ['name' => 'Laboratorios', 'weight' => '4', 'recitem' => [...], 'items' => [...]]] ) | .../processgradebook.php:55
testMoodle4
Más información sobre este error
Error code: generalexceptionmessage