Skip to content

RedisCluster::OPT_PREFIX is not defined #2262

@nakae-nextat

Description

@nakae-nextat

Expected behaviour

the contant RedisCluster::OPT_PREFIX is defined.

Actual behaviour

RedisCluster::OPT_PREFIX is not defined. causes an error with the message Uncaught Error: Undefined constant RedisCluster::OPT_PREFIX.

I'm seeing this behaviour on

  • OS: macOS 12.6.1 and a Docker Container (based on Debian 11 bullseye)
  • Redis: - (not installed)
  • PHP: 8.1.8
  • phpredis: lastest commit: 2a6dee5

Steps to reproduce, backtrace or example script

I've checked

  • There is no similar issue from other users
  • Issue isn't fixed in develop branch

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions