Skip to content
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

predis/predis 2 issue #42837

Closed
LocalHeroPro opened this issue Jun 16, 2022 · 9 comments
Closed

predis/predis 2 issue #42837

LocalHeroPro opened this issue Jun 16, 2022 · 9 comments

Comments

@LocalHeroPro
Copy link

  • Laravel Version: 9.17.0
  • PHP Version: 8.1.7
  • Database Driver & Version:

Description:

Here https://laravel.com/docs/9.x/redis#introduction, we have:

$ composer require predis/predis

that will install predis/predis in v2. Laravel and Horizon isn't ready to use v2.

Steps To Reproduce:

  1. composer require predis/predis
  2. see errors with Horizon
ErrorException/data/www/example.com/html/artisan horizon
include(/data/www/example.com/html/vendor/composer/../predis/predis/src/Command/ZSetReverseRangeByScore.php): Failed to open stream: No such file or directory
@ankurk91
Copy link
Contributor

#42577

You need to wait for next release

@driesvints
Copy link
Member

Horizon will be released today with support for Predis v2. Thanks

@LocalHeroPro
Copy link
Author

Still not working as expected.

@i-bajrai
Copy link
Contributor

i-bajrai commented Jul 6, 2022

I have this issue where the call is to a non-existent class/command @driesvints any insights?

Screen Shot 2022-07-06 at 3 57 35 pm
Screen Shot 2022-07-06 at 3 57 41 pm

@i-bajrai
Copy link
Contributor

i-bajrai commented Jul 6, 2022

Oh boy...

Thanks php and its magic methods 😵‍💫

The casing is wrong 😭

I solved it with this:

vendor/laravel/framework/src/Illuminate/Redis/Connections/Connection.php
Screen Shot 2022-07-06 at 5 03 04 pm

@LocalHeroPro
Copy link
Author

Laravel Framework 9.23.0 and issue still here.

@siarheipashkevich
Copy link
Contributor

The same issue also on production server.

@driesvints

@prattcmp
Copy link

prattcmp commented Aug 20, 2022

Why is this issue closed? It looks like Predis 2 is still not supported on the main framework.

@Rasoul-Karimi
Copy link

The same issue in laravel 11 and predis 2.2.2

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

No branches or pull requests

7 participants