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

session_regenerate_id() error reported as coding_error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • 3.0.6, 3.1.2
    • General
    • None
    • MOODLE_30_STABLE, MOODLE_31_STABLE

      We recently had infrastructure issues which caused the internal PHP function session_regenerate_id() to fail, and this was reported (incorrectly, I think) as a coding_exception().

      This appears to be caused by MDL-23884's changes to the default_error_handler() function, which treat any E_RECOVERABLE_ERROR as a coding_exception().

      Is this expected behaviour (i.e. should the Moodle session manager code be expected to anticipate and handle this obscure error)? If not, could it maybe be changed to moodle_exception()?

            Unassigned Unassigned
            maherne Michael Aherne
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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