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

Error not shown when configuring scales.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 3.1
    • Fix Version/s: None
    • Component/s: Competencies
    • Labels:
    • Affected Branches:
      MOODLE_31_STABLE

      Description

      When testing MDL-53879 I was unable to configure scales when creating a competency framework as I would get a pop-up with 'Undefined' in the title, with no stack trace or any errors in console.

      After checking the network tab and viewing the response from the server I saw -

      <b>Deprecated</b>:  Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set 'always_populate_raw_post_data' to '-1' in php.ini and use the php://input stream instead. in <b>Unknown</b> on line <b>0</b><br />
      <br />
      <b>Warning</b>:  Cannot modify header information - headers already sent in <b>Unknown</b> on line <b>0</b><br />
      

      In the end it was an issue with PHP 5.6 (may happen on earlier versions) and the setting 'always_populate_raw_post_data'. Would have been nice to see this response earlier.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              markn Mark Nelson
              Participants:
              Component watchers:
              Damyon Wiese, Jean-Philippe Gaudreau, Steve Massicotte, Serge Gauthier, Issam Taboubi, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: