Whoops, looks like something went wrong.

1/1 ErrorException in Home.php line 1398: Trying to get property of non-object

  1. in Home.php line 1398
  2. at HandleExceptions->handleError('8', 'Trying to get property of non-object', '/home/groomscorner/public_html/app/Home.php', '1398', array('table' => 'nm_secmaincategory', 'field' => 'smc_name', 'field_val' => 'Shirts', 'type' => 'sale', 'filters' => null)) in Home.php line 1398
  3. at Home::filter_by_cat_name('nm_secmaincategory', 'smc_name', 'Shirts', 'sale') in HomeController.php line 3628
  4. at HomeController->fetch_products('sale') in HomeController.php line 3512
  5. at HomeController->product('sale')
  6. at call_user_func_array(array(object(HomeController), 'product'), array('type' => 'sale')) in Controller.php line 256
  7. at Controller->callAction('product', array('type' => 'sale')) in ControllerDispatcher.php line 164
  8. at ControllerDispatcher->call(object(HomeController), object(Route), 'product') in ControllerDispatcher.php line 112
  9. at ControllerDispatcher->Illuminate\Routing\{closure}(object(Request))
  10. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 139
  11. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  12. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 103
  13. at Pipeline->then(object(Closure)) in ControllerDispatcher.php line 114
  14. at ControllerDispatcher->callWithinStack(object(HomeController), object(Route), object(Request), 'product') in ControllerDispatcher.php line 69
  15. at ControllerDispatcher->dispatch(object(Route), object(Request), 'App\Http\Controllers\HomeController', 'product') in Route.php line 203
  16. at Route->runWithCustomDispatcher(object(Request)) in Route.php line 134
  17. at Route->run(object(Request)) in Router.php line 708
  18. at Router->Illuminate\Routing\{closure}(object(Request))
  19. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 139
  20. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  21. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 103
  22. at Pipeline->then(object(Closure)) in Router.php line 710
  23. at Router->runRouteWithinStack(object(Route), object(Request)) in Router.php line 675
  24. at Router->dispatchToRoute(object(Request)) in Router.php line 635
  25. at Router->dispatch(object(Request)) in Kernel.php line 236
  26. at Kernel->Illuminate\Foundation\Http\{closure}(object(Request))
  27. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 139
  28. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in VerifyCsrfToken.php line 50
  29. at VerifyCsrfToken->handle(object(Request), object(Closure)) in VerifyCsrfToken.php line 17
  30. at VerifyCsrfToken->handle(object(Request), object(Closure))
  31. at call_user_func_array(array(object(VerifyCsrfToken), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
  32. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in ShareErrorsFromSession.php line 49
  33. at ShareErrorsFromSession->handle(object(Request), object(Closure))
  34. at call_user_func_array(array(object(ShareErrorsFromSession), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
  35. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in StartSession.php line 62
  36. at StartSession->handle(object(Request), object(Closure))
  37. at call_user_func_array(array(object(StartSession), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
  38. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in AddQueuedCookiesToResponse.php line 37
  39. at AddQueuedCookiesToResponse->handle(object(Request), object(Closure))
  40. at call_user_func_array(array(object(AddQueuedCookiesToResponse), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
  41. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in EncryptCookies.php line 59
  42. at EncryptCookies->handle(object(Request), object(Closure))
  43. at call_user_func_array(array(object(EncryptCookies), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
  44. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in CheckForMaintenanceMode.php line 44
  45. at CheckForMaintenanceMode->handle(object(Request), object(Closure))
  46. at call_user_func_array(array(object(CheckForMaintenanceMode), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
  47. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  48. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 103
  49. at Pipeline->then(object(Closure)) in Kernel.php line 122
  50. at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 87
  51. at Kernel->handle(object(Request)) in index.php line 53