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

preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated

XMLWordPrintable

    • 1
    • Team Hedgehog Sprint 2.2

      Env:
      PHP 8.1
      Moodle 4.2 (integration master)

      1. Go to question bank
      2. Create a question
      3. Now, back on the question bank list, click 'duplicate' from the question options
      4. There is an error on the page (under the header, so hide it with css to see it)
      5. Save the duplicate and observe the same error:

       Deprecated: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in /home/jake/moodledata/imaster/moodle/lib/questionlib.php on line 1985
      

            timhunt Tim Hunt
            jaked Jake Dallimore
            Raquel Ortega Raquel Ortega
            Andrew Lyons Andrew Lyons
            CiBoT CiBoT
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 5 minutes
                1h 5m

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