You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the debugbar service provider is loaded before the horizon package and the mail collector is set to true, horizon breaks.
In Laravel\Horizon\WaitTimeCalculator@timeToClearFor() Horizon tries to get a Laravel\Horizon\RedisQueue to call readyNow() on it. For some reasons, it get's a Illuminate\Queue\RedisQueue instead, which does not offer this method.
This leads to the following exception: Call to undefined method Illuminate\Queue\RedisQueue::readyNow()
Surprisingly, this only happens when:
a) The debugbar Service provider is loaded BEFORE horizon
b) The mail collector is activated
If the debugbar service provider is loaded before the horizon package and the mail collector is set to true, horizon breaks.
In
Laravel\Horizon\WaitTimeCalculator@timeToClearFor()
Horizon tries to get aLaravel\Horizon\RedisQueue
to callreadyNow()
on it. For some reasons, it get's aIlluminate\Queue\RedisQueue
instead, which does not offer this method.This leads to the following exception:
Call to undefined method Illuminate\Queue\RedisQueue::readyNow()
Surprisingly, this only happens when:
a) The debugbar Service provider is loaded BEFORE horizon
b) The mail collector is activated
Versions:
Laravel dev-master @ 2876087527
Debugbar dev-master @ d2c6e2c
Horizon 0.1.0
If you need further assistance in debugging this, im happy to provide more info.
The text was updated successfully, but these errors were encountered: