mlntn / laravel-unique-queue

Laravel queue driver that prevents identical jobs from being queued
15 stars 8 forks source link

Undefined index: uniqueIdentifier #7

Open FinucaneDesign opened 3 years ago

FinucaneDesign commented 3 years ago

Hi,

I installed this package I added the queue connection, the Horizon configuration and added the trait and getUniqueIdentifier().

But I am getting this error. Any suggestions on where to look for what I am doing wrong?

Thanks.

/vendor/mlntn/laravel-unique-queue/src/Queue/HorizonUniqueQueue.php:65Illuminate\Foundation\Bootstrap\HandleExceptions::handleError

/vendor/mlntn/laravel-unique-queue/src/Queue/HorizonUniqueQueue.php:65Illuminate\Foundation\Bootstrap\HandleExceptions::handleError /vendor/mlntn/laravel-unique-queue/src/Queue/HorizonUniqueQueue.php:65Mlntn\Queue\HorizonUniqueQueue::deleteReserved /vendor/laravel/framework/src/Illuminate/Queue/Jobs/RedisJob.php:84Illuminate\Queue\Jobs\RedisJob::delete /vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php:57Illuminate\Queue\CallQueuedHandler::call /vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php:88Illuminate\Queue\Jobs\Job::fire /vendor/laravel/framework/src/Illuminate/Queue/Worker.php:337Illuminate\Queue\Worker::process /vendor/laravel/framework/src/Illuminate/Queue/Worker.php:283Illuminate\Queue\Worker::runJob /vendor/laravel/framework/src/Illuminate/Queue/Worker.php:118Illuminate\Queue\Worker::daemon /vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php:102Illuminate\Queue\Console\WorkCommand::runWorker /vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php:86Illuminate\Queue\Console\WorkCommand::handle /vendor/laravel/horizon/src/Console/WorkCommand.php:46Laravel\Horizon\Console\WorkCommand::handle