Hola, en moodle 4.5.8+ (Build: 20251212) con local_notificationsagent 0.6.5 (2025072900), se produce este error al restaurar un curso con la opción de "Sobrescribir la configuración del curso" a "Si".
Detectado un error de codificación, debe ser corregido por un programador: moodle_database::get_in_or_equal() does not accept empty arrays
Información de depuración:
Error code: codingerror×Descartar esta notificación
Trazado de la pila (stack):
line 782 of /lib/dml/moodle_database.php: core\exception\coding_exception thrown
line 468 of /lib/dml/pgsql_native_moodle_database.php: call to moodle_database->get_in_or_equal()
line 278 of /local/notificationsagent/backup/moodle2/restore_local_notificationsagent_plugin.class.php: call to pgsql_native_moodle_database->get_in_or_equal()
line 311 of /local/notificationsagent/backup/moodle2/restore_local_notificationsagent_plugin.class.php: call to restore_local_notificationsagent_plugin->delete_rules()
line 115 of /backup/moodle2/restore_plugin.class.php: call to restore_local_notificationsagent_plugin->after_restore_course()
line 445 of /backup/util/plan/restore_structure_step.class.php: call to restore_plugin->launch_after_restore_methods()
line 119 of /backup/util/plan/restore_task.class.php: call to restore_structure_step->launch_after_restore_methods()
line 210 of /backup/util/plan/restore_plan.class.php: call to restore_task->execute_after_restore()
line 137 of /backup/moodle2/restore_final_task.class.php: call to restore_plan->execute_after_restore()
line 818 of /backup/moodle2/restore_stepslib.php: call to restore_final_task->launch_execute_after_restore()
line 34 of /backup/util/plan/restore_execution_step.class.php: call to restore_execute_after_restore->define_execution()
line 199 of /backup/util/plan/base_task.class.php: call to restore_execution_step->execute()
line 191 of /backup/util/plan/base_plan.class.php: call to base_task->execute()
line 168 of /backup/util/plan/restore_plan.class.php: call to base_plan->execute()
line 411 of /backup/controller/restore_controller.class.php: call to restore_plan->execute()
line 219 of /backup/util/ui/restore_ui.class.php: call to restore_controller->execute_plan()
line 146 of /backup/restore.php: call to restore_ui->execute()
Saludos
Hola, en moodle 4.5.8+ (Build: 20251212) con local_notificationsagent 0.6.5 (2025072900), se produce este error al restaurar un curso con la opción de "Sobrescribir la configuración del curso" a "Si".
Saludos