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

Undefined variable $required in Web Services API documentation page

    XMLWordPrintable

Details

    • MOODLE_311_STABLE, MOODLE_400_STABLE, MOODLE_401_STABLE
    • MOODLE_400_STABLE, MOODLE_401_STABLE
    • MDL-75085-401-4
    • MDL-75085-master-4
    • Hide
      1. Make sure developer debugging is enabled (using mdk, "mdk run mindev")
      2. Make sure the PHP config display_errors is also set to true
      3. Log in as admin
      4. Go to Site administration / Server / Web services / API Documentation
      5. Confirm that you don't see the "Underfined variable $required" warning or any debugging messages.
      Show
      Make sure developer debugging is enabled (using mdk, " mdk run mindev ") Make sure the PHP config display_errors is also set to true Log in as admin Go to Site administration / Server / Web services / API Documentation Confirm that you don't see the " Underfined variable $required " warning or any debugging messages.

    Description

      To reproduce:

      1. Make sure developer debugging is enabled and display errors is true
      2. Log in as admin
      3. Go to Site administration / Server / Web services / API Documentation
      4. What happens:
        • The following warning is shown:

          Warning: Undefined variable $required in /Users/jun/Work/moodles/integration_master/moodle/webservice/renderer.php on line 400
           
          Warning: Undefined variable $required in /Users/jun/Work/moodles/integration_master/moodle/webservice/renderer.php on line 400
          

      Attachments

        Issue Links

          Activity

            People

              jpataleta Jun Pataleta
              jpataleta Jun Pataleta
              Marina Glancy Marina Glancy
              Huong Nguyen Huong Nguyen
              Kim Jared Lucas Kim Jared Lucas
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

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

                  Clockify

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