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

Fatal error: Cannot access protected property xmldb_table::$name in lib/adminlib.php on line 455

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3
    • Fix Version/s: 2.3.1
    • Component/s: Database SQL/XMLDB
    • Labels:

      Description

      On trying to delete a third-party activity plugin, the following fatal error is displayed:

      Fatal error: Cannot access protected property xmldb_table::$name in lib/adminlib.php on line 455

      Suggested fix (lib/adminlib.php, line 455):

      • OLD: $table_names[] = strtolower($table->name);
      • NEW: $table_names[] = strtolower($table->getName());

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  9/Jul/12