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

course_get_format() is undefined when block_site_main_menu is on course

    XMLWordPrintable

    Details

    • Sprint:
      Moppies Kanban

      Description

      The issue appears when you have the 'Main menu' block on the Site home page and you config it to 'display throughout the entire site'.

      Do the above and then visit a course page to replicate the error.

      This seems to be a regression from MDL-72578.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              tusefomal Ferran Recio
              Reporter:
              rezaie9 Shamim Rezaie
              Peer reviewer:
              Carlos Escobedo Carlos Escobedo
              Integrator:
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Tester:
              CiBoT CiBoT
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 4 hours, 26 minutes
                  4h 26m