Ce problème a été résolu et été du à une mauvaise version du plugin utilisée.
J'ai pu tout installer correctement mais à présent, lorsque je veux commencer à exploiter le plugin Training Session, j'ai ces messages d'erreur.
Erreur d'écriture vers la base de données
Plus d'informations sur cette erreur
Debug info: Duplicate
entry '2-1581360907' for key 'mdl_blocusestatsess_useses_uix'
INSERT INTO mdl_block_use_stats_session (userid,sessionstart,sessionend,courses) VALUES(?,?,?,?)
[array (
0 => '2',
1 => '1581360907',
2 => 1581362874,
3 => '0,1,53',
)]
Error code: dmlwriteexception
Stack trace:
line 489 of /lib/dml/moodle_database.php: dml_write_exception thrown
line 1329 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
line 1375 of /lib/dml/mysqli_native_moodle_database.php: call to mysqli_native_moodle_database->insert_record_raw()
line 664 of /blocks/use_stats/locallib.php: call to mysqli_native_moodle_database->insert_record()
line 74 of /report/trainingsessions/userreport.php: call to use_stats_aggregate_logs()
line 62 of /report/trainingsessions/index.php: call to include_once()
Puis pour d'autres affichages, j'ai ce message :
Debug info:
Error code: ddltablenotexist
Stack trace: - line 665 of /lib/dml/moodle_database.php: dml_exception thrown
- line 1603 of /lib/dml/moodle_database.php: call to moodle_database->where_clause()
- line 1735 of /report/trainingsessions/locallib.php: call to moodle_database->get_field()
- line 148 of /report/trainingsessions/coursereport.php: call to report\trainingsessions\trainingsessions->map_summary_cols()
- line 62 of /report/trainingsessions/index.php: call to include_once()