Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-63083

Cannot delete courses MariaDB 10.3.8

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.5.1
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Apache, MariaDB 10.3.8
    • Testing Instructions:
      Hide

      Go to all courses, find a course, delete a course with content. The error messages appear and the course is not removed.

      Show
      Go to all courses, find a course, delete a course with content. The error messages appear and the course is not removed.
    • Workaround:
      Hide

      None found

      Show
      None found
    • Affected Branches:
      MOODLE_35_STABLE

      Description

      Every time I attempt to delete a course on Moodle 3.5.1 I get the following:

      generalexceptionmessage, referer: https://www/moodle/course/delete.php?id=8856
      line 1404 of \\lib
      gradelib.php: Error thrown, referer: https://www/moodle/course/delete.php?id=8856
      line 4924 of \\lib
      moodlelib.php: call to remove_grade_letters(), referer: https://www/moodle/course/delete.php?id=8856
      line 4840 of \\lib
      moodlelib.php: call to remove_course_contents(), referer: https://www/moodle/course/delete.php?id=8856
      line 67 of \\course
      delete.php: call to delete_course(), referer: https://www/moodle/course/delete.php?id=8856

      Stack trace:
      line 1404 of \lib\gradelib.php: Error thrown
      line 4924 of \lib\moodlelib.php: call to remove_grade_letters()
      line 4840 of \lib\moodlelib.php: call to remove_course_contents()
      line 67 of \course\delete.php: call to delete_course()

      Exception - Call to undefined method mariadb_native_moodle_database::delete_record()

       

      I'm running Moodle 3.5.1 on MariaDB 10.3.8. 

      Steps: Go to all courses, find a course, delete a course with content. The error messages appear and the course is not removed.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              smithrn Ryan Smith
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón, Jake Dallimore, Jun Pataleta, Jake Dallimore, Jun Pataleta, Jake Dallimore, Jun Pataleta
            • Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: