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

Redis::connect(): Passing null to parameter #2 ($port) of type int is deprecated

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 4.4
    • None
    • 2024042200
    • MOODLE_404_STABLE

      I am using the latest version of Moodle / .Moodle 4.4+ (Build: 20240516).

      • Almalinux 9
      • PHP 8.3.7
      • Redis 7.2.4 (unix socket).

      When I give the maintenance command, an error message appears like this.

      php admin/cli/maintenance.php --disable
      PHP Warning:  Undefined array key 1 in [moode-path]/cache/stores/redis/lib.php on line 263
      PHP Deprecated:  Redis::connect(): Passing null to parameter #2 ($port) of type int is deprecated in [moodle-path]/cache/stores/redis/lib.php on line 265
      == Maintenance mode (https://www.[domain]) ==
      Maintenance mode has been disabled and the site is running normally again

            mcampbell Matt Campbell (Inactive)
            mawan Mawan A. Nugroho
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

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