Skip to content

RedisSessionHandler reported an error after upgrading phpredis to 6.0.0 #51700

Closed
@TianLiangZhou

Description

@TianLiangZhou

Symfony version(s) affected

6.3.0

Description

deprecation.INFO: Deprecated: Redis::expire(): Passing null to parameter #3 ($mode) of type ?string is deprecated {"exception":"[object] (ErrorException(code: 0): Deprecated: Redis::expire(): Passing null to parameter #3 ($mode) of type ?string is deprecated at

snc_redis.DEBUG: Executing command "EXPIRE sess:dlrqcnojkf0e2l2nnr2ovg79rj 604800 " [] []

request.CRITICAL: Uncaught PHP Exception ErrorException: "Warning: Redis::expire(): Unknown expiration modifier ''"

How to reproduce

upgrading phpredis to 6.0.0

Possible Solution

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy