ErrorException: Trying to get property 'role' of non-object in C:\SSI\1. Projects\fcc\fcc\app\Http\Controllers\SA\LogsController.php:16
Stack trace:
#0 C:\SSI\1. Projects\fcc\fcc\app\Http\Controllers\SA\LogsController.php(16): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8, 'Trying to get p...', 'C:\\SSI\\1. Proje...', 16, Array)
#1 C:\SSI\1. Projects\fcc\fcc\app\Jobs\BrandSyncJob.php(25): App\Http\Controllers\SA\LogsController::logs('GET', Array, 'Sync Brands')
#2 C:\SSI\1. Projects\fcc\fcc\vendor\laravel\framework\src\Illuminate\Container\BoundMethod.php(36): App\Jobs\BrandSyncJob->handle()
#3 C:\SSI\1. Projects\fcc\fcc\vendor\laravel\framework\src\Illuminate\Container\Util.php(37): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#4 C:\SSI\1. Projects\fcc\fcc\vendor\laravel\framework\src\Illuminate\Container\BoundMethod.php(93): Illuminate\Container\Util::unwrapIfClosure(Object(Closure))
#5 C:\SSI\1. Projects\fcc\fcc\vendor\laravel\framework\src\Illuminate\Container\BoundMethod.php(37): Illuminate\Container\BoundMethod::callBoundMethod(Object(Illuminate\Foundation\Application), Array, Object(Closure))
#6 C:\SSI\1. Projects\fcc\fcc\vendor\laravel\framework\src\Illuminate\Container\Container.php(596): Illuminate\Container\BoundMethod::call(Object(Illuminate\Foundation\Application), Array, Array, NULL)
#7 C:\SSI\1. Projects\fcc\fcc\vendor\laravel\framework\src\Illuminate\Bus\Dispatcher.php(94): Illuminate\Container\Container->call(Array)
#8 C:\SSI\1. Projects\fcc\fcc\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(128): Illuminate\Bus\Dispatcher->Illuminate\Bus\{closure}(Object(App\Jobs\BrandSyncJob))
#9 C:\SSI\1. Projects\fcc\fcc\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(App\Jobs\BrandSyncJob))
#10 C:\SSI\1. Projects\fcc\fcc\vendor\laravel\framework\src\Illuminate\Bus\Dispatcher.php(98): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#11 C:\SSI\1. Projects\fcc\fcc\vendor\laravel\framework\src\Illuminate\Queue\CallQueuedHandler.php(83): Illuminate\Bus\Dispatcher->dispatchNow(Object(App\Jobs\BrandSyncJob), false)
#12 C:\SSI\1. Projects\fcc\fcc\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(128): Illuminate\Queue\CallQueuedHandler->Illuminate\Queue\{closure}(Object(App\Jobs\BrandSyncJob))
#13 C:\SSI\1. Projects\fcc\fcc\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(App\Jobs\BrandSyncJob))
#14 C:\SSI\1. Projects\fcc\fcc\vendor\laravel\framework\src\Illuminate\Queue\CallQueuedHandler.php(85): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#15 C:\SSI\1. Projects\fcc\fcc\vendor\laravel\framework\src\Illuminate\Queue\CallQueuedHandler.php(59): Illuminate\Queue\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\Queue\Jobs\DatabaseJob), Object(App\Jobs\BrandSyncJob))
#16 C:\SSI\1. Projects\fcc\fcc\vendor\laravel\framework\src\Illuminate\Queue\Jobs\Job.php(98): Illuminate\Queue\CallQueuedHandler->call(Object(Illuminate\Queue\Jobs\DatabaseJob), Array)
#17 C:\SSI\1. Projects\fcc\fcc\vendor\laravel\framework\src\Illuminate\Queue\Worker.php(356): Illuminate\Queue\Jobs\Job->fire()
#18 C:\SSI\1. Projects\fcc\fcc\vendor\laravel\framework\src\Illuminate\Queue\Worker.php(306): Illuminate\Queue\Worker->process('database', Object(Illuminate\Queue\Jobs\DatabaseJob), Object(Illuminate\Queue\WorkerOptions))
#19 C:\SSI\1. Projects\fcc\fcc\vendor\laravel\framework\src\Illuminate\Queue\Worker.php(265): Illuminate\Queue\Worker->runJob(Object(Illuminate\Queue\Jobs\DatabaseJob), 'database', Object(Illuminate\Queue\WorkerOptions))
#20 C:\SSI\1. Projects\fcc\fcc\vendor\laravel\framework\src\Illuminate\Queue\Console\WorkCommand.php(112): Illuminate\Queue\Worker->runNextJob('database', 'default', Object(Illuminate\Queue\WorkerOptions))
#21 C:\SSI\1. Projects\fcc\fcc\vendor\laravel\framework\src\Illuminate\Queue\Console\WorkCommand.php(96): Illuminate\Queue\Console\WorkCommand->runWorker('database', 'default')
#22 C:\SSI\1. Projects\fcc\fcc\vendor\laravel\framework\src\Illuminate\Container\BoundMethod.php(36): Illuminate\Queue\Console\WorkCommand->handle()
#23 C:\SSI\1. Projects\fcc\fcc\vendor\laravel\framework\src\Illuminate\Container\Util.php(37): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#24 C:\SSI\1. Projects\fcc\fcc\vendor\laravel\framework\src\Illuminate\Container\BoundMethod.php(93): Illuminate\Container\Util::unwrapIfClosure(Object(Closure))
#25 C:\SSI\1. Projects\fcc\fcc\vendor\laravel\framework\src\Illuminate\Container\BoundMethod.php(37): Illuminate\Container\BoundMethod::callBoundMethod(Object(Illuminate\Foundation\Application), Array, Object(Closure))
#26 C:\SSI\1. Projects\fcc\fcc\vendor\laravel\framework\src\Illuminate\Container\Container.php(596): Illuminate\Container\BoundMethod::call(Object(Illuminate\Foundation\Application), Array, Array, NULL)
#27 C:\SSI\1. Projects\fcc\fcc\vendor\laravel\framework\src\Illuminate\Console\Command.php(134): Illuminate\Container\Container->call(Array)
#28 C:\SSI\1. Projects\fcc\fcc\vendor\symfony\console\Command\Command.php(298): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Illuminate\Console\OutputStyle))
#29 C:\SSI\1. Projects\fcc\fcc\vendor\laravel\framework\src\Illuminate\Console\Command.php(121): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Illuminate\Console\OutputStyle))
#30 C:\SSI\1. Projects\fcc\fcc\vendor\symfony\console\Application.php(1040): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#31 C:\SSI\1. Projects\fcc\fcc\vendor\symfony\console\Application.php(301): Symfony\Component\Console\Application->doRunCommand(Object(Illuminate\Queue\Console\WorkCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#32 C:\SSI\1. Projects\fcc\fcc\vendor\symfony\console\Application.php(171): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#33 C:\SSI\1. Projects\fcc\fcc\vendor\laravel\framework\src\Illuminate\Console\Application.php(93): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#34 C:\SSI\1. Projects\fcc\fcc\vendor\laravel\framework\src\Illuminate\Foundation\Console\Kernel.php(129): Illuminate\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#35 C:\SSI\1. Projects\fcc\fcc\artisan(37): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#36 {main}