Laravel-Illuminate / Queue / Jobs / Job

时间:2018-07-24 16:54:00

标签: php laravel laravel-5.2

有人知道发生了什么,我得到这个错误:

ErrorException: Undefined index: job
#17 vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(126): handleError
#16 vendor/sentry/sentry/lib/Raven/Breadcrumbs/ErrorHandler.php(34): handleError
#15 vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(126): resolveAndFire
#14 vendor/laravel/framework/src/Illuminate/Queue/Jobs/RedisJob.php(50): fire
#13 vendor/laravel/framework/src/Illuminate/Queue/Worker.php(213): process
#12 vendor/laravel/framework/src/Illuminate/Queue/Worker.php(156): pop
#11 vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(125): runWorker
#10 vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(78): fire
#9 vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(0): call_user_func_array
#8 bootstrap/cache/compiled.php(1257): call
#7 vendor/laravel/framework/src/Illuminate/Console/Command.php(169): execute
#6 vendor/symfony/console/Command/Command.php(256): run
#5 vendor/laravel/framework/src/Illuminate/Console/Command.php(155): run
#4 vendor/symfony/console/Application.php(794): doRunCommand
#3 vendor/symfony/console/Application.php(186): doRun
#2 vendor/symfony/console/Application.php(117): run
#1 vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(107): handle
#0 artisan(35): null

供应商/laravel/framework/src/Illuminate/Queue/Jobs/Job.php中存在错误:

/**
 * Resolve and fire the job handler method.
 *
 * @param  array  $payload
 * @return void
 */
protected function resolveAndFire(array $payload)
{
    list($class, $method) = $this->parseJob($payload['job']);

    $this->instance = $this->resolve($class);

    $this->instance->{$method}($this, $this->resolveQueueableEntities($payload['data']));
}

0 个答案:

没有答案