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

PHP warnings on all pages when using Redis cache store with UNIX socket

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 4.4, 4.5
    • Caching
    • None
    • MOODLE_404_STABLE, MOODLE_405_STABLE

      When you configure and use a Redis cache store with a UNIX socket, all pages calling on this cache store will generate PHP warnings in the logs.

      For a single page with the latest version on main branch :

      PHP Warning:  Undefined array key 1 in /cache/stores/redis/lib.php on line 263
      PHP Deprecated:  Redis::connect(): Passing null to parameter #2 ($port) of type int is deprecated in /cache/stores/redis/lib.php on line 265

            Unassigned Unassigned
            jboulen Julien Boulen
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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