Trying to get property 'category' of non-object (View: /home/bbazar/public_html/resources/views/frontend/product_category.blade.php)

(2/2) ErrorException

Trying to get property 'category' of non-object (View: /home/bbazar/public_html/resources/views/frontend/product_category.blade.php)

in ee630f20dd4cf58a9369ab0b8bc07a67e0b10877.php line 16
at CompilerEngine->handleViewException(object(ErrorException), 1)in PhpEngine.php line 45
at PhpEngine->evaluatePath('/home/bbazar/public_html/storage/framework/views/ee630f20dd4cf58a9369ab0b8bc07a67e0b10877.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'products' => object(LengthAwarePaginator), 'subtitle' => null, 'countCheck' => 489, 'minute' => 60000))in CompilerEngine.php line 59
at CompilerEngine->get('/home/bbazar/public_html/resources/views/frontend/product_category.blade.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'products' => object(LengthAwarePaginator), 'subtitle' => null, 'countCheck' => 489, 'minute' => 60000))in View.php line 142
at View->getContents()in View.php line 125
at View->renderContents()in View.php line 90
at View->render()in Response.php line 42
at Response->setContent(object(View))in Response.php line 205
at Response->__construct(object(View))in Router.php line 748
at Router::toResponse(object(Request), object(View))in Router.php line 720
at Router->prepareResponse(object(Request), object(View))in Router.php line 680
at Router->Illuminate\Routing\{closure}(object(Request))in Pipeline.php line 30
at Pipeline->Illuminate\Routing\{closure}(object(Request))in OptimizeCacheMiddleware.php line 32
at OptimizeCacheMiddleware->App\Http\Middleware\{closure}()in Repository.php line 383
at Repository->remember('product/category/257', 1800, object(Closure))in CacheManager.php line 357
at CacheManager->__call('remember', array('product/category/257', 1800, object(Closure)))in Facade.php line 239
at Facade::__callStatic('remember', array('product/category/257', 1800, object(Closure)))in OptimizeCacheMiddleware.php line 48
at OptimizeCacheMiddleware->handle(object(Request), object(Closure), '1', 'false')in Pipeline.php line 163
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request))in SubstituteBindings.php line 41
at SubstituteBindings->handle(object(Request), object(Closure))in Pipeline.php line 163
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request))in VerifyCsrfToken.php line 75
at VerifyCsrfToken->handle(object(Request), object(Closure))in Pipeline.php line 163
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request))in RefferalCoodeMiddleware.php line 79
at RefferalCoodeMiddleware->handle(object(Request), object(Closure))in Pipeline.php line 163
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request))in ShareErrorsFromSession.php line 49
at ShareErrorsFromSession->handle(object(Request), object(Closure))in Pipeline.php line 163
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request))in StartSession.php line 56
at StartSession->handle(object(Request), object(Closure))in Pipeline.php line 163
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request))in AddQueuedCookiesToResponse.php line 37
at AddQueuedCookiesToResponse->handle(object(Request), object(Closure))in Pipeline.php line 163
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request))in EncryptCookies.php line 66
at EncryptCookies->handle(object(Request), object(Closure))in Pipeline.php line 163
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request))in Pipeline.php line 104
at Pipeline->then(object(Closure))in Router.php line 682
at Router->runRouteWithinStack(object(Route), object(Request))in Router.php line 657
at Router->runRoute(object(Request), object(Route))in Router.php line 623
at Router->dispatchToRoute(object(Request))in Router.php line 612
at Router->dispatch(object(Request))in Kernel.php line 176
at Kernel->Illuminate\Foundation\Http\{closure}(object(Request))in Pipeline.php line 30
at Pipeline->Illuminate\Routing\{closure}(object(Request))in HttpsProtocol.php line 30
at HttpsProtocol->handle(object(Request), object(Closure))in Pipeline.php line 163
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request))in TrustProxies.php line 57
at TrustProxies->handle(object(Request), object(Closure))in Pipeline.php line 163
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request))in TransformsRequest.php line 21
at TransformsRequest->handle(object(Request), object(Closure))in Pipeline.php line 163
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request))in TransformsRequest.php line 21
at TransformsRequest->handle(object(Request), object(Closure))in Pipeline.php line 163
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request))in ValidatePostSize.php line 27
at ValidatePostSize->handle(object(Request), object(Closure))in Pipeline.php line 163
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request))in CheckForMaintenanceMode.php line 62
at CheckForMaintenanceMode->handle(object(Request), object(Closure))in Pipeline.php line 163
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request))in Pipeline.php line 104
at Pipeline->then(object(Closure))in Kernel.php line 151
at Kernel->sendRequestThroughRouter(object(Request))in Kernel.php line 116
at Kernel->handle(object(Request))in index.php line 69

(1/2) ErrorException

Trying to get property 'category' of non-object

in ee630f20dd4cf58a9369ab0b8bc07a67e0b10877.php line 16
at HandleExceptions->handleError(8, 'Trying to get property \'category\' of non-object', '/home/bbazar/public_html/storage/framework/views/ee630f20dd4cf58a9369ab0b8bc07a67e0b10877.php', 16, array('__path' => '/home/bbazar/public_html/storage/framework/views/ee630f20dd4cf58a9369ab0b8bc07a67e0b10877.php', '__data' => array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'products' => object(LengthAwarePaginator), 'subtitle' => null, 'countCheck' => 489, 'minute' => 60000), 'obLevel' => 1, '__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'products' => object(LengthAwarePaginator), 'subtitle' => null, 'countCheck' => 489, 'minute' => 60000))in ee630f20dd4cf58a9369ab0b8bc07a67e0b10877.php line 16
at include('/home/bbazar/public_html/storage/framework/views/ee630f20dd4cf58a9369ab0b8bc07a67e0b10877.php')in PhpEngine.php line 43
at PhpEngine->evaluatePath('/home/bbazar/public_html/storage/framework/views/ee630f20dd4cf58a9369ab0b8bc07a67e0b10877.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'products' => object(LengthAwarePaginator), 'subtitle' => null, 'countCheck' => 489, 'minute' => 60000))in CompilerEngine.php line 59
at CompilerEngine->get('/home/bbazar/public_html/resources/views/frontend/product_category.blade.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'products' => object(LengthAwarePaginator), 'subtitle' => null, 'countCheck' => 489, 'minute' => 60000))in View.php line 142
at View->getContents()in View.php line 125
at View->renderContents()in View.php line 90
at View->render()in Response.php line 42
at Response->setContent(object(View))in Response.php line 205
at Response->__construct(object(View))in Router.php line 748
at Router::toResponse(object(Request), object(View))in Router.php line 720
at Router->prepareResponse(object(Request), object(View))in Router.php line 680
at Router->Illuminate\Routing\{closure}(object(Request))in Pipeline.php line 30
at Pipeline->Illuminate\Routing\{closure}(object(Request))in OptimizeCacheMiddleware.php line 32
at OptimizeCacheMiddleware->App\Http\Middleware\{closure}()in Repository.php line 383
at Repository->remember('product/category/257', 1800, object(Closure))in CacheManager.php line 357
at CacheManager->__call('remember', array('product/category/257', 1800, object(Closure)))in Facade.php line 239
at Facade::__callStatic('remember', array('product/category/257', 1800, object(Closure)))in OptimizeCacheMiddleware.php line 48
at OptimizeCacheMiddleware->handle(object(Request), object(Closure), '1', 'false')in Pipeline.php line 163
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request))in SubstituteBindings.php line 41
at SubstituteBindings->handle(object(Request), object(Closure))in Pipeline.php line 163
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request))in VerifyCsrfToken.php line 75
at VerifyCsrfToken->handle(object(Request), object(Closure))in Pipeline.php line 163
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request))in RefferalCoodeMiddleware.php line 79
at RefferalCoodeMiddleware->handle(object(Request), object(Closure))in Pipeline.php line 163
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request))in ShareErrorsFromSession.php line 49
at ShareErrorsFromSession->handle(object(Request), object(Closure))in Pipeline.php line 163
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request))in StartSession.php line 56
at StartSession->handle(object(Request), object(Closure))in Pipeline.php line 163
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request))in AddQueuedCookiesToResponse.php line 37
at AddQueuedCookiesToResponse->handle(object(Request), object(Closure))in Pipeline.php line 163
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request))in EncryptCookies.php line 66
at EncryptCookies->handle(object(Request), object(Closure))in Pipeline.php line 163
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request))in Pipeline.php line 104
at Pipeline->then(object(Closure))in Router.php line 682
at Router->runRouteWithinStack(object(Route), object(Request))in Router.php line 657
at Router->runRoute(object(Request), object(Route))in Router.php line 623
at Router->dispatchToRoute(object(Request))in Router.php line 612
at Router->dispatch(object(Request))in Kernel.php line 176
at Kernel->Illuminate\Foundation\Http\{closure}(object(Request))in Pipeline.php line 30
at Pipeline->Illuminate\Routing\{closure}(object(Request))in HttpsProtocol.php line 30
at HttpsProtocol->handle(object(Request), object(Closure))in Pipeline.php line 163
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request))in TrustProxies.php line 57
at TrustProxies->handle(object(Request), object(Closure))in Pipeline.php line 163
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request))in TransformsRequest.php line 21
at TransformsRequest->handle(object(Request), object(Closure))in Pipeline.php line 163
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request))in TransformsRequest.php line 21
at TransformsRequest->handle(object(Request), object(Closure))in Pipeline.php line 163
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request))in ValidatePostSize.php line 27
at ValidatePostSize->handle(object(Request), object(Closure))in Pipeline.php line 163
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request))in CheckForMaintenanceMode.php line 62
at CheckForMaintenanceMode->handle(object(Request), object(Closure))in Pipeline.php line 163
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request))in Pipeline.php line 104
at Pipeline->then(object(Closure))in Kernel.php line 151
at Kernel->sendRequestThroughRouter(object(Request))in Kernel.php line 116
at Kernel->handle(object(Request))in index.php line 69