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

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

per Farhad Fataev -
Nombre de respostes: 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?
Mitjana de qualificacions: -
En resposta a Farhad Fataev

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

per Visvanath Ratnaweera -
Imatge de Particularly helpful Moodlers Imatge de 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.
En resposta a Visvanath Ratnaweera

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

per 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.
En resposta a Farhad Fataev

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

per Visvanath Ratnaweera -
Imatge de Particularly helpful Moodlers Imatge de 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.
En resposta a Farhad Fataev

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

per Leon Stringer -
Imatge de Core developers Imatge de 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.