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

Install: trim(): Passing null is deprecated in lib/pagelib.php

XMLWordPrintable

    • 1
    • Team Hedgehog 2023 Sprint 3.3

      If you attempt to install with 1) an existing config.php that enables debugging and 2) PHP 8.1 or later, then admin/index.php?cache=0&agreelicense=1&lang=en shows a warning at the top of the page:

      Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/moodle/lib/pagelib.php on line 1426

      This warning does not appear with PHP 8.0.

            pholden Paul Holden
            leonstr Leon Stringer
            Raquel Ortega Raquel Ortega
            Huong Nguyen Huong Nguyen
            Kim Jared Lucas Kim Jared Lucas
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

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

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