-
Bug
-
Resolution: Fixed
-
Minor
-
4.1.3, 4.2
-
1
-
Team Hedgehog 2023 Sprint 2.1, Team Hedgehog 2023 Sprint 2.2
In /cache/stores/redis/lib.php #208 the "new_redis" function is testing whether the connection string starts with "/".
In case of "/" the "$port" variable is set to "null" which is later used in $redis->connect($server, $port).
Using "null" for the 2tn parameter in "connect" is deprecated.
Log:
PHP message: PHP Deprecated: Redis::connect(): Passing null to parameter #2 ($port) of type int is deprecated
https://www.php.net/manual/en/migration81.deprecated.php#migration81.deprecated.core.null-not-nullable-internal
- has been marked as being related by
-
MDL-82230 PHP warnings on all pages when using Redis cache store with UNIX socket
-
- Closed
-