Fatal error: Uncaught ErrorException: Attempt to read property "sub_roles" on null in /data/urban_esakor_app/app/Services/Acl/PermissionService.php:52
Stack trace:
#0 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(270): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError()
#1 /data/urban_esakor_app/app/Services/Acl/PermissionService.php(52): Illuminate\Foundation\Bootstrap\HandleExceptions->Illuminate\Foundation\Bootstrap\{closure}()
#2 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(1312): App\Services\Acl\PermissionService->App\Services\Acl\{closure}()
#3 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Concerns/QueriesRelationships.php(61): Illuminate\Database\Eloquent\Builder->callScope()
#4 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Concerns/QueriesRelationships.php(152): Illuminate\Database\Eloquent\Builder->has()
#5 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Support/Traits/ForwardsCalls.php(23): Illuminate\Database\Eloquent\Builder->whereHas()
#6 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(2330): Illuminate\Database\Eloquent\Model->forwardCallTo()
#7 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(2342): Illuminate\Database\Eloquent\Model->__call()
#8 /data/urban_esakor_app/app/Services/Acl/PermissionService.php(51): Illuminate\Database\Eloquent\Model::__callStatic()
#9 /data/urban_esakor_app/app/Providers/MenuServiceProvider.php(34): App\Services\Acl\PermissionService->get_permitted_acls()
#10 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(421): App\Providers\MenuServiceProvider->App\Providers\{closure}()
#11 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(249): Illuminate\Events\Dispatcher->Illuminate\Events\{closure}()
#12 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/View/Concerns/ManagesEvents.php(177): Illuminate\Events\Dispatcher->dispatch()
#13 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/View/View.php(176): Illuminate\View\Factory->callComposer()
#14 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/View/View.php(147): Illuminate\View\View->renderContents()
#15 /data/urban_esakor_app/storage/framework/views/f0a9109b91cff5e96ea5315f99a4daee5c5a6557.php(32): Illuminate\View\View->render()
#16 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(109): require('...')
#17 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(110): Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}()
#18 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(58): Illuminate\Filesystem\Filesystem->getRequire()
#19 /data/urban_esakor_app/vendor/livewire/livewire/src/ComponentConcerns/RendersLivewireComponents.php(69): Illuminate\View\Engines\PhpEngine->evaluatePath()
#20 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(70): Livewire\LivewireViewCompilerEngine->evaluatePath()
#21 /data/urban_esakor_app/vendor/livewire/livewire/src/ComponentConcerns/RendersLivewireComponents.php(35): Illuminate\View\Engines\CompilerEngine->get()
#22 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/View/View.php(195): Livewire\LivewireViewCompilerEngine->get()
#23 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/View/View.php(178): Illuminate\View\View->getContents()
#24 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/View/View.php(147): Illuminate\View\View->renderContents()
#25 /data/urban_esakor_app/storage/framework/views/f3d7402532d545ab76ad50a6bbbdc7f54bdf87ee.php(171): Illuminate\View\View->render()
#26 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(109): require('...')
#27 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(110): Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}()
#28 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(58): Illuminate\Filesystem\Filesystem->getRequire()
#29 /data/urban_esakor_app/vendor/livewire/livewire/src/ComponentConcerns/RendersLivewireComponents.php(69): Illuminate\View\Engines\PhpEngine->evaluatePath()
#30 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(70): Livewire\LivewireViewCompilerEngine->evaluatePath()
#31 /data/urban_esakor_app/vendor/livewire/livewire/src/ComponentConcerns/RendersLivewireComponents.php(35): Illuminate\View\Engines\CompilerEngine->get()
#32 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/View/View.php(195): Livewire\LivewireViewCompilerEngine->get()
#33 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/View/View.php(178): Illuminate\View\View->getContents()
#34 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/View/View.php(147): Illuminate\View\View->renderContents()
#35 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Http/Response.php(69): Illuminate\View\View->render()
#36 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Http/Response.php(35): Illuminate\Http\Response->setContent()
#37 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php(57): Illuminate\Http\Response->__construct()
#38 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php(87): Illuminate\Routing\ResponseFactory->make()
#39 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(626): Illuminate\Routing\ResponseFactory->view()
#40 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(554): Illuminate\Foundation\Exceptions\Handler->renderHttpException()
#41 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(460): Illuminate\Foundation\Exceptions\Handler->prepareResponse()
#42 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(377): Illuminate\Foundation\Exceptions\Handler->renderExceptionResponse()
#43 /data/urban_esakor_app/app/Exceptions/Handler.php(58): Illuminate\Foundation\Exceptions\Handler->render()
#44 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(233): App\Exceptions\Handler->render()
#45 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(210): Illuminate\Foundation\Bootstrap\HandleExceptions->renderHttpResponse()
#46 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(270): Illuminate\Foundation\Bootstrap\HandleExceptions->handleException()
#47 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->Illuminate\Foundation\Bootstrap\{closure}()
#48 {main}
Next Illuminate\View\ViewException: Attempt to read property "sub_roles" on null (View: /data/urban_esakor_app/resources/views/layouts/admin/master.blade.php) in /data/urban_esakor_app/app/Services/Acl/PermissionService.php:52
Stack trace:
#0 /data/urban_esakor_app/vendor/livewire/livewire/src/ComponentConcerns/RendersLivewireComponents.php(106): Illuminate\View\Engines\CompilerEngine->handleViewException()
#1 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(60): Livewire\LivewireViewCompilerEngine->handleViewException()
#2 /data/urban_esakor_app/vendor/livewire/livewire/src/ComponentConcerns/RendersLivewireComponents.php(69): Illuminate\View\Engines\PhpEngine->evaluatePath()
#3 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(70): Livewire\LivewireViewCompilerEngine->evaluatePath()
#4 /data/urban_esakor_app/vendor/livewire/livewire/src/ComponentConcerns/RendersLivewireComponents.php(35): Illuminate\View\Engines\CompilerEngine->get()
#5 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/View/View.php(195): Livewire\LivewireViewCompilerEngine->get()
#6 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/View/View.php(178): Illuminate\View\View->getContents()
#7 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/View/View.php(147): Illuminate\View\View->renderContents()
#8 /data/urban_esakor_app/storage/framework/views/f3d7402532d545ab76ad50a6bbbdc7f54bdf87ee.php(171): Illuminate\View\View->render()
#9 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(109): require('...')
#10 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(110): Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}()
#11 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(58): Illuminate\Filesystem\Filesystem->getRequire()
#12 /data/urban_esakor_app/vendor/livewire/livewire/src/ComponentConcerns/RendersLivewireComponents.php(69): Illuminate\View\Engines\PhpEngine->evaluatePath()
#13 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(70): Livewire\LivewireViewCompilerEngine->evaluatePath()
#14 /data/urban_esakor_app/vendor/livewire/livewire/src/ComponentConcerns/RendersLivewireComponents.php(35): Illuminate\View\Engines\CompilerEngine->get()
#15 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/View/View.php(195): Livewire\LivewireViewCompilerEngine->get()
#16 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/View/View.php(178): Illuminate\View\View->getContents()
#17 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/View/View.php(147): Illuminate\View\View->renderContents()
#18 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Http/Response.php(69): Illuminate\View\View->render()
#19 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Http/Response.php(35): Illuminate\Http\Response->setContent()
#20 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php(57): Illuminate\Http\Response->__construct()
#21 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php(87): Illuminate\Routing\ResponseFactory->make()
#22 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(626): Illuminate\Routing\ResponseFactory->view()
#23 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(554): Illuminate\Foundation\Exceptions\Handler->renderHttpException()
#24 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(460): Illuminate\Foundation\Exceptions\Handler->prepareResponse()
#25 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(377): Illuminate\Foundation\Exceptions\Handler->renderExceptionResponse()
#26 /data/urban_esakor_app/app/Exceptions/Handler.php(58): Illuminate\Foundation\Exceptions\Handler->render()
#27 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(233): App\Exceptions\Handler->render()
#28 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(210): Illuminate\Foundation\Bootstrap\HandleExceptions->renderHttpResponse()
#29 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(270): Illuminate\Foundation\Bootstrap\HandleExceptions->handleException()
#30 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->Illuminate\Foundation\Bootstrap\{closure}()
#31 {main}
Next Illuminate\View\ViewException: Attempt to read property "sub_roles" on null (View: /data/urban_esakor_app/resources/views/layouts/admin/master.blade.php) (View: /data/urban_esakor_app/resources/views/layouts/admin/master.blade.php) in /data/urban_esakor_app/app/Services/Acl/PermissionService.php:52
Stack trace:
#0 /data/urban_esakor_app/vendor/livewire/livewire/src/ComponentConcerns/RendersLivewireComponents.php(106): Illuminate\View\Engines\CompilerEngine->handleViewException()
#1 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(60): Livewire\LivewireViewCompilerEngine->handleViewException()
#2 /data/urban_esakor_app/vendor/livewire/livewire/src/ComponentConcerns/RendersLivewireComponents.php(69): Illuminate\View\Engines\PhpEngine->evaluatePath()
#3 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(70): Livewire\LivewireViewCompilerEngine->evaluatePath()
#4 /data/urban_esakor_app/vendor/livewire/livewire/src/ComponentConcerns/RendersLivewireComponents.php(35): Illuminate\View\Engines\CompilerEngine->get()
#5 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/View/View.php(195): Livewire\LivewireViewCompilerEngine->get()
#6 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/View/View.php(178): Illuminate\View\View->getContents()
#7 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/View/View.php(147): Illuminate\View\View->renderContents()
#8 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Http/Response.php(69): Illuminate\View\View->render()
#9 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Http/Response.php(35): Illuminate\Http\Response->setContent()
#10 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php(57): Illuminate\Http\Response->__construct()
#11 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php(87): Illuminate\Routing\ResponseFactory->make()
#12 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(626): Illuminate\Routing\ResponseFactory->view()
#13 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(554): Illuminate\Foundation\Exceptions\Handler->renderHttpException()
#14 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(460): Illuminate\Foundation\Exceptions\Handler->prepareResponse()
#15 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(377): Illuminate\Foundation\Exceptions\Handler->renderExceptionResponse()
#16 /data/urban_esakor_app/app/Exceptions/Handler.php(58): Illuminate\Foundation\Exceptions\Handler->render()
#17 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(233): App\Exceptions\Handler->render()
#18 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(210): Illuminate\Foundation\Bootstrap\HandleExceptions->renderHttpResponse()
#19 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(270): Illuminate\Foundation\Bootstrap\HandleExceptions->handleException()
#20 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->Illuminate\Foundation\Bootstrap\{closure}()
#21 {main}
thrown in /data/urban_esakor_app/app/Services/Acl/PermissionService.php on line 52
Fatal error: Uncaught ErrorException: Attempt to read property "sub_roles" on null in /data/urban_esakor_app/app/Services/Acl/PermissionService.php:52
Stack trace:
#0 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(270): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError()
#1 /data/urban_esakor_app/app/Services/Acl/PermissionService.php(52): Illuminate\Foundation\Bootstrap\HandleExceptions->Illuminate\Foundation\Bootstrap\{closure}()
#2 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(1312): App\Services\Acl\PermissionService->App\Services\Acl\{closure}()
#3 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Concerns/QueriesRelationships.php(61): Illuminate\Database\Eloquent\Builder->callScope()
#4 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Concerns/QueriesRelationships.php(152): Illuminate\Database\Eloquent\Builder->has()
#5 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Support/Traits/ForwardsCalls.php(23): Illuminate\Database\Eloquent\Builder->whereHas()
#6 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(2330): Illuminate\Database\Eloquent\Model->forwardCallTo()
#7 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(2342): Illuminate\Database\Eloquent\Model->__call()
#8 /data/urban_esakor_app/app/Services/Acl/PermissionService.php(51): Illuminate\Database\Eloquent\Model::__callStatic()
#9 /data/urban_esakor_app/app/Providers/MenuServiceProvider.php(34): App\Services\Acl\PermissionService->get_permitted_acls()
#10 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(421): App\Providers\MenuServiceProvider->App\Providers\{closure}()
#11 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(249): Illuminate\Events\Dispatcher->Illuminate\Events\{closure}()
#12 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/View/Concerns/ManagesEvents.php(177): Illuminate\Events\Dispatcher->dispatch()
#13 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/View/View.php(176): Illuminate\View\Factory->callComposer()
#14 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/View/View.php(147): Illuminate\View\View->renderContents()
#15 /data/urban_esakor_app/storage/framework/views/f0a9109b91cff5e96ea5315f99a4daee5c5a6557.php(32): Illuminate\View\View->render()
#16 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(109): require('...')
#17 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(110): Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}()
#18 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(58): Illuminate\Filesystem\Filesystem->getRequire()
#19 /data/urban_esakor_app/vendor/livewire/livewire/src/ComponentConcerns/RendersLivewireComponents.php(69): Illuminate\View\Engines\PhpEngine->evaluatePath()
#20 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(70): Livewire\LivewireViewCompilerEngine->evaluatePath()
#21 /data/urban_esakor_app/vendor/livewire/livewire/src/ComponentConcerns/RendersLivewireComponents.php(35): Illuminate\View\Engines\CompilerEngine->get()
#22 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/View/View.php(195): Livewire\LivewireViewCompilerEngine->get()
#23 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/View/View.php(178): Illuminate\View\View->getContents()
#24 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/View/View.php(147): Illuminate\View\View->renderContents()
#25 /data/urban_esakor_app/storage/framework/views/f3d7402532d545ab76ad50a6bbbdc7f54bdf87ee.php(171): Illuminate\View\View->render()
#26 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(109): require('...')
#27 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(110): Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}()
#28 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(58): Illuminate\Filesystem\Filesystem->getRequire()
#29 /data/urban_esakor_app/vendor/livewire/livewire/src/ComponentConcerns/RendersLivewireComponents.php(69): Illuminate\View\Engines\PhpEngine->evaluatePath()
#30 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(70): Livewire\LivewireViewCompilerEngine->evaluatePath()
#31 /data/urban_esakor_app/vendor/livewire/livewire/src/ComponentConcerns/RendersLivewireComponents.php(35): Illuminate\View\Engines\CompilerEngine->get()
#32 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/View/View.php(195): Livewire\LivewireViewCompilerEngine->get()
#33 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/View/View.php(178): Illuminate\View\View->getContents()
#34 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/View/View.php(147): Illuminate\View\View->renderContents()
#35 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Http/Response.php(69): Illuminate\View\View->render()
#36 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Http/Response.php(35): Illuminate\Http\Response->setContent()
#37 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php(57): Illuminate\Http\Response->__construct()
#38 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php(87): Illuminate\Routing\ResponseFactory->make()
#39 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(626): Illuminate\Routing\ResponseFactory->view()
#40 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(554): Illuminate\Foundation\Exceptions\Handler->renderHttpException()
#41 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(460): Illuminate\Foundation\Exceptions\Handler->prepareResponse()
#42 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(377): Illuminate\Foundation\Exceptions\Handler->renderExceptionResponse()
#43 /data/urban_esakor_app/app/Exceptions/Handler.php(58): Illuminate\Foundation\Exceptions\Handler->render()
#44 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(233): App\Exceptions\Handler->render()
#45 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(210): Illuminate\Foundation\Bootstrap\HandleExceptions->renderHttpResponse()
#46 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(246): Illuminate\Foundation\Bootstrap\HandleExceptions->handleException()
#47 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(270): Illuminate\Foundation\Bootstrap\HandleExceptions->handleShutdown()
#48 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->Illuminate\Foundation\Bootstrap\{closure}()
#49 {main}
Next Illuminate\View\ViewException: Attempt to read property "sub_roles" on null (View: /data/urban_esakor_app/resources/views/layouts/admin/master.blade.php) in /data/urban_esakor_app/app/Services/Acl/PermissionService.php:52
Stack trace:
#0 /data/urban_esakor_app/vendor/livewire/livewire/src/ComponentConcerns/RendersLivewireComponents.php(106): Illuminate\View\Engines\CompilerEngine->handleViewException()
#1 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(60): Livewire\LivewireViewCompilerEngine->handleViewException()
#2 /data/urban_esakor_app/vendor/livewire/livewire/src/ComponentConcerns/RendersLivewireComponents.php(69): Illuminate\View\Engines\PhpEngine->evaluatePath()
#3 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(70): Livewire\LivewireViewCompilerEngine->evaluatePath()
#4 /data/urban_esakor_app/vendor/livewire/livewire/src/ComponentConcerns/RendersLivewireComponents.php(35): Illuminate\View\Engines\CompilerEngine->get()
#5 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/View/View.php(195): Livewire\LivewireViewCompilerEngine->get()
#6 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/View/View.php(178): Illuminate\View\View->getContents()
#7 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/View/View.php(147): Illuminate\View\View->renderContents()
#8 /data/urban_esakor_app/storage/framework/views/f3d7402532d545ab76ad50a6bbbdc7f54bdf87ee.php(171): Illuminate\View\View->render()
#9 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(109): require('...')
#10 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(110): Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}()
#11 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(58): Illuminate\Filesystem\Filesystem->getRequire()
#12 /data/urban_esakor_app/vendor/livewire/livewire/src/ComponentConcerns/RendersLivewireComponents.php(69): Illuminate\View\Engines\PhpEngine->evaluatePath()
#13 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(70): Livewire\LivewireViewCompilerEngine->evaluatePath()
#14 /data/urban_esakor_app/vendor/livewire/livewire/src/ComponentConcerns/RendersLivewireComponents.php(35): Illuminate\View\Engines\CompilerEngine->get()
#15 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/View/View.php(195): Livewire\LivewireViewCompilerEngine->get()
#16 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/View/View.php(178): Illuminate\View\View->getContents()
#17 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/View/View.php(147): Illuminate\View\View->renderContents()
#18 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Http/Response.php(69): Illuminate\View\View->render()
#19 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Http/Response.php(35): Illuminate\Http\Response->setContent()
#20 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php(57): Illuminate\Http\Response->__construct()
#21 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php(87): Illuminate\Routing\ResponseFactory->make()
#22 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(626): Illuminate\Routing\ResponseFactory->view()
#23 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(554): Illuminate\Foundation\Exceptions\Handler->renderHttpException()
#24 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(460): Illuminate\Foundation\Exceptions\Handler->prepareResponse()
#25 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(377): Illuminate\Foundation\Exceptions\Handler->renderExceptionResponse()
#26 /data/urban_esakor_app/app/Exceptions/Handler.php(58): Illuminate\Foundation\Exceptions\Handler->render()
#27 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(233): App\Exceptions\Handler->render()
#28 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(210): Illuminate\Foundation\Bootstrap\HandleExceptions->renderHttpResponse()
#29 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(246): Illuminate\Foundation\Bootstrap\HandleExceptions->handleException()
#30 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(270): Illuminate\Foundation\Bootstrap\HandleExceptions->handleShutdown()
#31 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->Illuminate\Foundation\Bootstrap\{closure}()
#32 {main}
Next Illuminate\View\ViewException: Attempt to read property "sub_roles" on null (View: /data/urban_esakor_app/resources/views/layouts/admin/master.blade.php) (View: /data/urban_esakor_app/resources/views/layouts/admin/master.blade.php) in /data/urban_esakor_app/app/Services/Acl/PermissionService.php:52
Stack trace:
#0 /data/urban_esakor_app/vendor/livewire/livewire/src/ComponentConcerns/RendersLivewireComponents.php(106): Illuminate\View\Engines\CompilerEngine->handleViewException()
#1 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(60): Livewire\LivewireViewCompilerEngine->handleViewException()
#2 /data/urban_esakor_app/vendor/livewire/livewire/src/ComponentConcerns/RendersLivewireComponents.php(69): Illuminate\View\Engines\PhpEngine->evaluatePath()
#3 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(70): Livewire\LivewireViewCompilerEngine->evaluatePath()
#4 /data/urban_esakor_app/vendor/livewire/livewire/src/ComponentConcerns/RendersLivewireComponents.php(35): Illuminate\View\Engines\CompilerEngine->get()
#5 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/View/View.php(195): Livewire\LivewireViewCompilerEngine->get()
#6 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/View/View.php(178): Illuminate\View\View->getContents()
#7 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/View/View.php(147): Illuminate\View\View->renderContents()
#8 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Http/Response.php(69): Illuminate\View\View->render()
#9 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Http/Response.php(35): Illuminate\Http\Response->setContent()
#10 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php(57): Illuminate\Http\Response->__construct()
#11 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php(87): Illuminate\Routing\ResponseFactory->make()
#12 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(626): Illuminate\Routing\ResponseFactory->view()
#13 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(554): Illuminate\Foundation\Exceptions\Handler->renderHttpException()
#14 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(460): Illuminate\Foundation\Exceptions\Handler->prepareResponse()
#15 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(377): Illuminate\Foundation\Exceptions\Handler->renderExceptionResponse()
#16 /data/urban_esakor_app/app/Exceptions/Handler.php(58): Illuminate\Foundation\Exceptions\Handler->render()
#17 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(233): App\Exceptions\Handler->render()
#18 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(210): Illuminate\Foundation\Bootstrap\HandleExceptions->renderHttpResponse()
#19 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(246): Illuminate\Foundation\Bootstrap\HandleExceptions->handleException()
#20 /data/urban_esakor_app/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(270): Illuminate\Foundation\Bootstrap\HandleExceptions->handleShutdown()
#21 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->Illuminate\Foundation\Bootstrap\{closure}()
#22 {main}
thrown in /data/urban_esakor_app/app/Services/Acl/PermissionService.php on line 52