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

Custom menu items triggers PHP warnings for undefined path elements

    XMLWordPrintable

Details

    • MOODLE_403_STABLE
    • MOODLE_403_STABLE
    • Hide
      1. Log in as admin
      2. Navigate to Appearance > Themes > Theme settings in site administration
      3. Set Custom menu items to the following:

        Moodle|https://moodle.org
        

      4. Save changes
      5. Confirm Moodle is added to custom menu
      6. Confirm no debugging notices are shown on the page
      Show
      Log in as admin Navigate to Appearance > Themes > Theme settings in site administration Set Custom menu items to the following: Moodle|https://moodle.org Save changes Confirm Moodle is added to custom menu Confirm no debugging notices are shown on the page

    Description

      Discovered by dobedobedoh while reviewing MDL-78656

      Warning: Undefined array key "path" in /var/www/html/lib/classes/navigation/output/primary.php on line 198
       
      Warning: Undefined array key "path" in /var/www/html/lib/classes/navigation/output/primary.php on line 202
       
      Warning: Undefined array key "path" in /var/www/html/lib/classes/navigation/output/primary.php on line 198
       
      Warning: Undefined array key "path" in /var/www/html/lib/classes/navigation/output/primary.php on line 202
      Skip to main content
      

      Appears to be a regression caused by MDL-77732

      Attachments

        1. MDL-79118.png
          586 kB
          Ron Carl Alfon Yu

        Issue Links

          Activity

            People

              pholden Paul Holden
              pholden Paul Holden
              Andrew Lyons Andrew Lyons
              Sara Arjona (@sarjona) Sara Arjona (@sarjona)
              Ron Carl Alfon Yu Ron Carl Alfon Yu
              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 - 38 minutes
                  38m

                  Clockify

                    Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.