ErrorException {#5150
  #message: "Trying to get property of non-object"
  #code: 0
  #file: "/var/www/html/idprop/idp-stagging/app/Http/Controllers/Store/SellersCategoryController.php"
  #line: 43
  #severity: E_NOTICE
  trace: {
    /var/www/html/idprop/idp-stagging/app/Http/Controllers/Store/SellersCategoryController.php:43 {\t\t\t\t\t\t//If brand is not enabled then show products all (specially done for durian)            if($brand->is_enabled == '' || $brand->is_enabled == 'no')            {
      arguments: {
        $level: 8
        $message: "Trying to get property of non-object"
        $file: "/var/www/html/idprop/idp-stagging/app/Http/Controllers/Store/SellersCategoryController.php"
        $line: 43
        $context: array:3 [ …3]
      }
    }
    App\Http\Controllers\Store\SellersCategoryController->brandProfile() {}
    /var/www/html/idprop/idp-stagging/vendor/laravel/framework/src/Illuminate/Routing/Controller.php:55 {{    return call_user_func_array([$this, $method], $parameters);}
      arguments: {
        $function_name: array:2 [ …2]
        $parameters: array:2 [ …2]
      }
    }
    /var/www/html/idprop/idp-stagging/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:44 {if (method_exists($controller, 'callAction')) {    return $controller->callAction($method, $parameters);}
      arguments: {
        $method: "brandProfile"
        $parameters: array:2 [ …2]
      }
    }
    /var/www/html/idprop/idp-stagging/vendor/laravel/framework/src/Illuminate/Routing/Route.php:203 {return (new ControllerDispatcher($this->container))->dispatch(    $this, $this->getController(), $this->getControllerMethod());
      arguments: {
        $route: Route {#3158 …}
        $controller: SellersCategoryController {#3649 …}
        $method: "brandProfile"
      }
    }
    /var/www/html/idprop/idp-stagging/vendor/laravel/framework/src/Illuminate/Routing/Route.php:160 {if ($this->isControllerAction()) {    return $this->runController();}
    }
    /var/www/html/idprop/idp-stagging/vendor/laravel/framework/src/Illuminate/Routing/Router.php:572 {return $this->prepareResponse(    $request, $route->run());
    }
    /var/www/html/idprop/idp-stagging/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:30 {try {    return $destination($passable);} catch (Exception $e) {
      arguments: {
        Request {#38 …}
      }
    }
    /var/www/html/idprop/idp-stagging/app/Http/Middleware/AddCartToSession.php:82 {    //dD(\MyCart::instance('shopping')->content());            return $next($request);}
      arguments: {
        Request {#38 …}
      }
    }
    /var/www/html/idprop/idp-stagging/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:148 {
      › 
      ›     return $pipe->{$this->method}(...$parameters);};
      arguments: {
        $request: Request {#38 …}
        $next: Closure {#3628 …}
      }
    }
    /var/www/html/idprop/idp-stagging/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
      › 
      ›     return $callable($passable);} catch (Exception $e) {
      arguments: {
        Request {#38 …}
      }
    }
    /var/www/html/idprop/idp-stagging/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php:41 {
      › 
      ›     return $next($request);}
      arguments: {
        Request {#38 …}
      }
    }
    /var/www/html/idprop/idp-stagging/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:148 {
      › 
      ›     return $pipe->{$this->method}(...$parameters);};
      arguments: {
        $request: Request {#38 …}
        $next: Closure {#3628 …}
      }
    }
    /var/www/html/idprop/idp-stagging/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
      › 
      ›     return $callable($passable);} catch (Exception $e) {
      arguments: {
        Request {#38 …}
      }
    }
    /var/www/html/idprop/idp-stagging/app/Http/Middleware/StoreOnHold.php:36 {} else {    return $next($request);}
      arguments: {
        Request {#38 …}
      }
    }
    /var/www/html/idprop/idp-stagging/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:148 {
      › 
      ›     return $pipe->{$this->method}(...$parameters);};
      arguments: {
        $request: Request {#38 …}
        $next: Closure {#3628 …}
      }
    }
    /var/www/html/idprop/idp-stagging/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
      › 
      ›     return $callable($passable);} catch (Exception $e) {
      arguments: {
        Request {#38 …}
      }
    }
    /var/www/html/idprop/idp-stagging/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php:49 {
      › 
      ›     return $next($request);}
      arguments: {
        Request {#38 …}
      }
    }
    /var/www/html/idprop/idp-stagging/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:148 {
      › 
      ›     return $pipe->{$this->method}(...$parameters);};
      arguments: {
        $request: Request {#38 …}
        $next: Closure {#3628 …}
      }
    }
    /var/www/html/idprop/idp-stagging/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
      › 
      ›     return $callable($passable);} catch (Exception $e) {
      arguments: {
        Request {#38 …}
      }
    }
    /var/www/html/idprop/idp-stagging/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:64 {
      › 
      › $response = $next($request);arguments: {
        Request {#38 …}
      }
    }
    /var/www/html/idprop/idp-stagging/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:148 {
      › 
      ›     return $pipe->{$this->method}(...$parameters);};
      arguments: {
        $request: Request {#38 …}
        $next: Closure {#3628 …}
      }
    }
    /var/www/html/idprop/idp-stagging/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
      › 
      ›     return $callable($passable);} catch (Exception $e) {
      arguments: {
        Request {#38 …}
      }
    }
    /var/www/html/idprop/idp-stagging/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php:37 {{    $response = $next($request);arguments: {
        Request {#38 …}
      }
    }
    /var/www/html/idprop/idp-stagging/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:148 {
      › 
      ›     return $pipe->{$this->method}(...$parameters);};
      arguments: {
        $request: Request {#38 …}
        $next: Closure {#3628 …}
      }
    }
    /var/www/html/idprop/idp-stagging/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
      › 
      ›     return $callable($passable);} catch (Exception $e) {
      arguments: {
        Request {#38 …}
      }
    }
    /var/www/html/idprop/idp-stagging/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php:59 {{    return $this->encrypt($next($this->decrypt($request)));}
      arguments: {
        Request {#38 …}
      }
    }
    /var/www/html/idprop/idp-stagging/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:148 {
      › 
      ›     return $pipe->{$this->method}(...$parameters);};
      arguments: {
        $request: Request {#38 …}
        $next: Closure {#3628 …}
      }
    }
    /var/www/html/idprop/idp-stagging/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
      › 
      ›     return $callable($passable);} catch (Exception $e) {
      arguments: {
        Request {#38 …}
      }
    }
    /var/www/html/idprop/idp-stagging/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:102 {
      › 
      ›     return $pipeline($this->passable);}
      arguments: {
        Request {#38 …}
      }
    }
    /var/www/html/idprop/idp-stagging/vendor/laravel/framework/src/Illuminate/Routing/Router.php:574 {                        );                    });}
      arguments: {
        $destination: Closure {#5098 …}
      }
    }
    /var/www/html/idprop/idp-stagging/vendor/laravel/framework/src/Illuminate/Routing/Router.php:533 {
      › 
      › $response = $this->runRouteWithinStack($route, $request);arguments: {
        $route: Route {#3158 …}
        $request: Request {#38 …}
      }
    }
    /var/www/html/idprop/idp-stagging/vendor/laravel/framework/src/Illuminate/Routing/Router.php:511 {
      › 
      ›     return $this->dispatchToRoute($request);}
      arguments: {
        $request: Request {#38 …}
      }
    }
    /var/www/html/idprop/idp-stagging/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:176 {
      › 
      ›     return $this->router->dispatch($request);};
      arguments: {
        $request: Request {#38 …}
      }
    }
    /var/www/html/idprop/idp-stagging/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:30 {try {    return $destination($passable);} catch (Exception $e) {
      arguments: {
        Request {#38 …}
      }
    }
    /var/www/html/idprop/idp-stagging/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:30 {
      › 
      ›     return $next($request);}
      arguments: {
        Request {#38 …}
      }
    }
    /var/www/html/idprop/idp-stagging/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:148 {
      › 
      ›     return $pipe->{$this->method}(...$parameters);};
      arguments: {
        $request: Request {#38 …}
        $next: Closure {#3628 …}
      }
    }
    /var/www/html/idprop/idp-stagging/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
      › 
      ›     return $callable($passable);} catch (Exception $e) {
      arguments: {
        Request {#38 …}
      }
    }
    /var/www/html/idprop/idp-stagging/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:30 {
      › 
      ›     return $next($request);}
      arguments: {
        Request {#38 …}
      }
    }
    /var/www/html/idprop/idp-stagging/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:148 {
      › 
      ›     return $pipe->{$this->method}(...$parameters);};
      arguments: {
        $request: Request {#38 …}
        $next: Closure {#3628 …}
      }
    }
    /var/www/html/idprop/idp-stagging/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
      › 
      ›     return $callable($passable);} catch (Exception $e) {
      arguments: {
        Request {#38 …}
      }
    }
    /var/www/html/idprop/idp-stagging/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27 {
      › 
      ›     return $next($request);}
      arguments: {
        Request {#38 …}
      }
    }
    /var/www/html/idprop/idp-stagging/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:148 {
      › 
      ›     return $pipe->{$this->method}(...$parameters);};
      arguments: {
        $request: Request {#38 …}
        $next: Closure {#3628 …}
      }
    }
    /var/www/html/idprop/idp-stagging/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
      › 
      ›     return $callable($passable);} catch (Exception $e) {
      arguments: {
        Request {#38 …}
      }
    }
    /var/www/html/idprop/idp-stagging/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php:46 {
      › 
      ›     return $next($request);}
      arguments: {
        Request {#38 …}
      }
    }
    /var/www/html/idprop/idp-stagging/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:148 {
      › 
      ›     return $pipe->{$this->method}(...$parameters);};
      arguments: {
        $request: Request {#38 …}
        $next: Closure {#3628 …}
      }
    }
    /var/www/html/idprop/idp-stagging/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
      › 
      ›     return $callable($passable);} catch (Exception $e) {
      arguments: {
        Request {#38 …}
      }
    }
    /var/www/html/idprop/idp-stagging/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:102 {
      › 
      ›     return $pipeline($this->passable);}
      arguments: {
        Request {#38 …}
      }
    }
    /var/www/html/idprop/idp-stagging/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:151 {                ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)                ->then($this->dispatchToRouter());}
      arguments: {
        $destination: Closure {#3182 …}
      }
    }
    /var/www/html/idprop/idp-stagging/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:116 {
      › 
      ›     $response = $this->sendRequestThroughRouter($request);} catch (Exception $e) {
      arguments: {
        $request: Request {#38 …}
      }
    }
    /var/www/html/idprop/idp-stagging/public/index.php:52 {$response = $kernel->handle(\t$request = Illuminate\Http\Request::capture());
      arguments: {
        $request: Request {#38 …}
      }
    }
  }
}