Laravel Horizon Critical Issue

Posted 3 months ago by xyrintech

Call to undefined method Illuminate\Queue\RedisQueue::readyNow() at AutoScaler.php 80

I have been using Laravel Horizon since like 1.4 and currently using 3.1 Few days back I upgraded my laravel 5.8 and horizon 3.1 from 1.4. However I did setup the entire setup from scratch means nothing being copied from previous code for horizon or any other config.

I have been getting a very strange issue. When I deploy code and start horizon first time, this works completely fine but the time I restart the horizon (supervisor stop and start) then the I get the issue on Horizon Stats, Recent Jobs etc. everywhere.

Call to undefined method Illuminate\Queue\RedisQueue::readyNow() {"exception":"[object] (Symfony\Component\Debug\Exception\FatalThrowableError(code: 0): Call to undefined method Illuminate\Queue\RedisQueue::readyNow() at /var/www/html/laravel/vendor/laravel/horizon/src/AutoScaler.php:80)

Now, not sure why its happening, is this something I committing a mistake or something wrong with Horizon?

Please sign in or create an account to participate in this conversation.