ErrorException: json_decode() expects parameter 1 to be string, array given in /Users/itexecutive/Documents/projects/LBS/app/Jobs/SearchLocation.php:165
Stack trace:
#0 [internal function]: Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}(2, 'json_decode() e...', '/Users/itexecut...', 165, Array)
#1 /Users/itexecutive/Documents/projects/LBS/app/Jobs/SearchLocation.php(165): json_decode(Array)
#2 /Users/itexecutive/Documents/projects/LBS/app/Jobs/SearchLocation.php(60): App\Jobs\SearchLocation->next_priority(Array)
#3 [internal function]: App\Jobs\SearchLocation->handle()
#4 /Users/itexecutive/Documents/projects/LBS/vendor/illuminate/container/BoundMethod.php(32): call_user_func_array(Array, Array)
#5 /Users/itexecutive/Documents/projects/LBS/vendor/illuminate/container/BoundMethod.php(90): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#6 /Users/itexecutive/Documents/projects/LBS/vendor/illuminate/container/BoundMethod.php(34): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#7 /Users/itexecutive/Documents/projects/LBS/vendor/illuminate/container/Container.php(591): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#8 /Users/itexecutive/Documents/projects/LBS/vendor/illuminate/bus/Dispatcher.php(94): Illuminate\Container\Container->call(Array)
#9 /Users/itexecutive/Documents/projects/LBS/vendor/illuminate/pipeline/Pipeline.php(130): Illuminate\Bus\Dispatcher->Illuminate\Bus\{closure}(Object(App\Jobs\SearchLocation))
#10 /Users/itexecutive/Documents/projects/LBS/vendor/illuminate/pipeline/Pipeline.php(105): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(App\Jobs\SearchLocation))
#11 /Users/itexecutive/Documents/projects/LBS/vendor/illuminate/bus/Dispatcher.php(98): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#12 /Users/itexecutive/Documents/projects/LBS/vendor/illuminate/queue/CallQueuedHandler.php(83): Illuminate\Bus\Dispatcher->dispatchNow(Object(App\Jobs\SearchLocation), false)
#13 /Users/itexecutive/Documents/projects/LBS/vendor/illuminate/pipeline/Pipeline.php(130): Illuminate\Queue\CallQueuedHandler->Illuminate\Queue\{closure}(Object(App\Jobs\SearchLocation))
#14 /Users/itexecutive/Documents/projects/LBS/vendor/illuminate/pipeline/Pipeline.php(105): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(App\Jobs\SearchLocation))
#15 /Users/itexecutive/Documents/projects/LBS/vendor/illuminate/queue/CallQueuedHandler.php(85): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#16 /Users/itexecutive/Documents/projects/LBS/vendor/illuminate/queue/CallQueuedHandler.php(59): Illuminate\Queue\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\Queue\Jobs\DatabaseJob), Object(App\Jobs\SearchLocation))
#17 /Users/itexecutive/Documents/projects/LBS/vendor/illuminate/queue/Jobs/Job.php(88): Illuminate\Queue\CallQueuedHandler->call(Object(Illuminate\Queue\Jobs\DatabaseJob), Array)
#18 /Users/itexecutive/Documents/projects/LBS/vendor/illuminate/queue/Worker.php(368): Illuminate\Queue\Jobs\Job->fire()
#19 /Users/itexecutive/Documents/projects/LBS/vendor/illuminate/queue/Worker.php(314): Illuminate\Queue\Worker->process('database', Object(Illuminate\Queue\Jobs\DatabaseJob), Object(Illuminate\Queue\WorkerOptions))
#20 /Users/itexecutive/Documents/projects/LBS/vendor/illuminate/queue/Worker.php(267): Illuminate\Queue\Worker->runJob(Object(Illuminate\Queue\Jobs\DatabaseJob), 'database', Object(Illuminate\Queue\WorkerOptions))
#21 /Users/itexecutive/Documents/projects/LBS/vendor/illuminate/queue/Console/WorkCommand.php(112): Illuminate\Queue\Worker->runNextJob('database', 'default', Object(Illuminate\Queue\WorkerOptions))
#22 /Users/itexecutive/Documents/projects/LBS/vendor/illuminate/queue/Console/WorkCommand.php(96): Illuminate\Queue\Console\WorkCommand->runWorker('database', 'default')
#23 [internal function]: Illuminate\Queue\Console\WorkCommand->handle()
#24 /Users/itexecutive/Documents/projects/LBS/vendor/illuminate/container/BoundMethod.php(32): call_user_func_array(Array, Array)
#25 /Users/itexecutive/Documents/projects/LBS/vendor/illuminate/container/BoundMethod.php(90): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#26 /Users/itexecutive/Documents/projects/LBS/vendor/illuminate/container/BoundMethod.php(34): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#27 /Users/itexecutive/Documents/projects/LBS/vendor/illuminate/container/Container.php(591): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#28 /Users/itexecutive/Documents/projects/LBS/vendor/illuminate/console/Command.php(134): Illuminate\Container\Container->call(Array)
#29 /Users/itexecutive/Documents/projects/LBS/vendor/symfony/console/Command/Command.php(255): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Illuminate\Console\OutputStyle))
#30 /Users/itexecutive/Documents/projects/LBS/vendor/illuminate/console/Command.php(121): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Illuminate\Console\OutputStyle))
#31 /Users/itexecutive/Documents/projects/LBS/vendor/symfony/console/Application.php(1001): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#32 /Users/itexecutive/Documents/projects/LBS/vendor/symfony/console/Application.php(271): Symfony\Component\Console\Application->doRunCommand(Object(Illuminate\Queue\Console\WorkCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#33 /Users/itexecutive/Documents/projects/LBS/vendor/symfony/console/Application.php(147): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#34 /Users/itexecutive/Documents/projects/LBS/vendor/illuminate/console/Application.php(93): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#35 /Users/itexecutive/Documents/projects/LBS/vendor/laravel/lumen-framework/src/Console/Kernel.php(115): Illuminate\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#36 /Users/itexecutive/Documents/projects/LBS/artisan(35): Laravel\Lumen\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#37 {main}