turnitin/moodle-plagiarism_turnitin

Error on task update_reports - Error: mdb->get_record() found more than one record!

steveorulez opened this issue · 0 comments

Hello,

after one week of upgrading from 3.11 to 4.1 I see this error repeted in the cron of this task:
Execute scheduled task: Update Report Scores for Turnitin Plagiarism Plugin (plagiarism_turnitin\task\u
pdate_reports)

++ Error: mdb->get_record() found more than one record! ++

  • line 1691 of /lib/dml/moodle_database.php: call to debugging()
  • line 1651 of /lib/dml/moodle_database.php: call to moodle_database->get_record_sql()
  • line 1630 of /lib/dml/moodle_database.php: call to moodle_database->get_record_select()
  • line 2112 of /plagiarism/turnitin/lib.php: call to moodle_database->get_record()
  • line 2934 of /plagiarism/turnitin/lib.php: call to plagiarism_plugin_turnitin->cron_update_scores()
  • line 46 of /plagiarism/turnitin/classes/task/update_reports.php: call to plagiarism_turnitin_update_reports()
  • line 263 of /lib/cronlib.php: call to plagiarism_turnitin\task\update_reports->execute()
  • line 120 of /lib/cronlib.php: call to cron_run_inner_scheduled_task()
  • line 73 of /lib/cronlib.php: call to cron_run_scheduled_tasks()
  • line 178 of /admin/cli/cron.php: call to cron_run()

Moodle: 4.1.4+ (Build: 20230721)
turnitin plagiarism: 2023033001