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

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

Farhad Fataev發表於
Number of replies: 6
Hello! 
When backing up the course, I get this error

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 229 of /backup/util/helper/async_helper.class.php: call to moodle_database->get_record_select()
  • line 119 of /backup/backup.php: call to async_helper::is_async_pending() Preparing a backup for this resource
moodle 4.1 mysql ubuntu Whats wrong with my moodle?
評比平均分數: -
In reply to Farhad Fataev

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

Visvanath Ratnaweera發表於
Particularly helpful Moodlers的相片 Translators的相片
Moodle version?

When does this happen? Anything similar to https://moodle.org/mod/forum/discuss.php?d=446289. (No, I don't know more that what is written there.)

It that all what you get with Debugging level set to its maximum.
In reply to Visvanath Ratnaweera

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

Farhad Fataev發表於
Moodle version 4.1
It happen when teacher to make backuped course.
Yes, it's maximum from Debugging.
I think, teacher created course on base a other
Thank for your help.
In reply to Farhad Fataev

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

Visvanath Ratnaweera發表於
Particularly helpful Moodlers的相片 Translators的相片
I can't offer you any help. I'm having my version of the same problem. Sorry!

May be the posts by Emma Richardson in the discussion I linked will give you hints where to look.
In reply to Farhad Fataev

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

Leon Stringer發表於
Core developers的相片 Particularly helpful Moodlers的相片

This looks like MDL-70746. From reading the comments in Tracker it looks like this is not a serious error. There is a proposed fix for Moodle 3.9 which you could try applying.

Also, from the line numbers in your error it looks like you have Moodle 4.1.0. You should update to the latest 4.1 version (currently 4.1.3) as you are missing four months of bug fixes and security updates.

評比平均分數:Useful (1)