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

Undefined constant warning on webservice API documentation page

XMLWordPrintable

      When loading the webservice API documentation page the following error appears on the screen:

      Same from the logs:

      [Thu Dec 09 15:57:34.378776 2021] [php7:warn] [pid 3279] [client 192.168.122.1:38502] PHP Warning:  Use of undefined constant MY_PAGE_DEFAULT - assumed 'MY_PAGE_DEFAULT' (this will throw an Error in a future version of PHP) in /opt/moodle/master/src/blocks/classes/external.php on line 224, referer: http://moodle.internal/master/admin/search.php
      

      Regression from MDL-73087

        1. Screenshot from 2021-12-09 15-57-36.png
          28 kB
          Paul Holden
        2. MDL-73330 testing.png
          148 kB
          Angelia Dela Cruz

            pholden Paul Holden
            pholden Paul Holden
            Noel De Martin Noel De Martin
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            Angelia Dela Cruz Angelia Dela Cruz
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 20 minutes
                20m

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