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

Cannot redeclare get_roles_with_assignment_on_context()

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Not a bug
    • Affects Version/s: 3.6.2
    • Fix Version/s: None
    • Component/s: Installation
    • Labels:
      None
    • Affected Branches:
      MOODLE_36_STABLE

      Description

      After this week's recent upgrade to 3.6.2, the hosting provider informed me about the following fatal error:  

      [pid [2920676|tel:2920676]] writev(6, [{"LS\6\0\n\1\0\0", 8},

      {"PHP Fatal error: Cannot redeclare get_roles_with_assignment_on_context() (previously declared in public_html/lib/accesslib.php:4101|http://famschouten.eu/public_html/lib/accesslib.php:4101]) in public_html/lib/deprecatedlib.php|http://famschouten.eu/public_html/lib/deprecatedlib.php] on line 3452\n", 258}

       ], 2) = 266

      Do you have any suggestion to fix this error? The site is totally blank as a result of this error. Thank you very much!

       

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              wim83 W. Schouten
              Participants:
              Component watchers:
              Matteo Scaramuccia, Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: