Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-6272

Cannot use generic "object" with PHP 7

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.0, 3.1
    • 3.0, 3.1
    • Module: Questionnaire
    • None

      It looks like the use of "new object" has been deprecated in Moodle as of version 3.1. More importantly, this is due to PHP7 using it as a "reserved word" so using it may break code in PHP7. Questionnaire uses it a few places, so replace those with "new stdClass()".
      (see MDL-52471).

            mchurch Mike Churchward
            mchurch Mike Churchward
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

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