-
Notifications
You must be signed in to change notification settings - Fork 659
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
Call to undefined method Illuminate\Queue\RedisQueue::readyNow() #25
Comments
I restarted nginx and this worked. Odd. |
Scrap that. Still an issue. |
Looks like for some reason Horizon redis connector is not being use and Laravel's connector is used instead, make sure you're running latest 5.5 code. For extra debugging, make sure |
Ah, I was using Laravel 5.4 Is that the issue here? |
@jbrooksuk we never tested Horizon on 5.4, it was meant to be run on 5.5, also some minor changes happened in 5.5 core to make Horizon work, like predis support. So I believe it's better not to run it on 5.4 |
Oh, I thought @taylorotwell said it turns out he'd been testing it on 5.4 😆 |
I didn't know that, all my testing was on 5.5 and I believe Taylor was doing the same. Leaving it for Taylor to decide if we should make sure it works on 5.4 as well then 😃 |
👍 |
@themsaid would you mind let me know where exactly I can put "HorizonServiceProvider::registerQueueConnectors" to have extra debug when "Call to undefined method Illuminate\Queue\RedisQueue::readyNow()" occurs please ? |
also seems this method is protected |
This should be fixed in latest version |
This issue happens for me as well, on homestead with php 7.1, horizon 0.1.0 using database queue and laravel 5.5.20. |
+1 happened on my side as well using laravel 5.5.
|
EDIT : In fact I did not read enough the docs and it is because it only works for redis driver and not database... Issue still happening for me. my
and my
|
This issue is there in Laravel 5.8 too |
I had the same issue using laravel 5.8 and spent a lot of time aroud. The problem was in serviceProvider initialization order. and after this i override my HorizonApplicationServiceProvider as
}
register your own HorizonApplicationServiceProvider manually in config/app.php |
FYI if anyone is experiencing this and landed here from google. Check that "spatie/laravel-ignition" is in require and not require-dev! This is what fixed for me on Laravel 9.
|
I'm yet to figure out why this is happening...
The text was updated successfully, but these errors were encountered: