asseco-voice / laravel-stomp

STOMP native queue driver for Laravel
MIT License
4 stars 4 forks source link

Call to undefined method Asseco\Stomp\Queue\StompQueue::clear() #32

Open nmalcolm opened 1 year ago

nmalcolm commented 1 year ago
sail@f37c890e39fd:/var/www/html$ php artisan horizon:clear

   Error

  Call to undefined method Asseco\Stomp\Queue\StompQueue::clear()

  at vendor/laravel/horizon/src/Console/ClearCommand.php:53
     49▕         $connection = Arr::first($this->laravel['config']->get('horizon.defaults'))['connection'] ?? 'redis';
     50▕
     51▕         $jobRepository->purge($queue = $this->getQueue($connection));
     52▕
  ➜  53▕         $count = $manager->connection($connection)->clear($queue);
     54▕
     55▕         $this->line('Cleared '.$count.' jobs from the ['.$queue.'] queue ');
     56▕
     57▕         return 0;

      +12 vendor frames
  13  artisan:35
      Illuminate\Foundation\Console\Kernel::handle()