Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
steveorulez opened this issue Aug 7, 2023 · 0 comments

Comments

@steveorulez
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant