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

preg_match(): Passing null to parameter #2 ($subject) when configuring custom menu items (PHP 8.1)

    XMLWordPrintable

Details

    Description

      Environment:
      Moodle 4.1.3+
      PHP 8.1.19

      Steps:
      Set debug level to developer
      Enable debugdisplay
      Open any Moodle page

      Error:
      Deprecated: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in [...]/lib/outputcomponents.php on line 3662

      Attachments

        Activity

          People

            pholden Paul Holden
            claud10r Claud10R
            Andrew Lyons Andrew Lyons
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            Kim Jared Lucas Kim Jared Lucas
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

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

                Clockify

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