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

    • 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

              tusefomal Ferran Recio
              rezaie9 Shamim Rezaie
              Carlos Escobedo Carlos Escobedo
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              CiBoT CiBoT
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Sujith Haridasan, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                19/Apr/22

                Time Tracking

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