10000 Redis::scan(): Passing null to parameter #4 ($type) of type ?string is deprecated · Issue #2403 · phpredis/phpredis · GitHub
[go: up one dir, main page]

Skip to content

Redis::scan(): Passing null to parameter #4 ($type) of type ?string is deprecated #2403

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ruudk opened this issue Oct 13, 2023 · 2 comments · Fixed by #2405
Closed

Redis::scan(): Passing null to parameter #4 ($type) of type ?string is deprecated #2403

ruudk opened this issue Oct 13, 2023 · 2 comments · Fixed by #2405

Comments

@ruudk
Copy link
Contributor
ruudk commented Oct 13, 2023

Expected behaviour

No error

Actual behaviour

This deprecation error is reported by Symfony when using the Redis 6 Proxy.

I'm seeing this behaviour on

  • OS: Linux
  • Redis: latest
  • PHP: 8.2
  • phpredis: 6.0.1 from PECL

Steps to reproduce, backtrace or example script

This should have been fixed with #2363 but it appears the error is still there.

References:

@yatsukhnenko
Copy link
Member

@ruudk could you test changes from PR #2405 ?

@ruudk
Copy link
Contributor Author
ruudk commented Oct 13, 2023

I just tested it on our CI and indeed, it solves the problem! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants
0