葡京国际娱乐平台

1/1 FatalThrowableError in Category.php line 50: Call to a member function toArray() on null

  1. in Category.php line 50
  2. at Category::App\{closure}() in Repository.php line 239
  3. at Repository->rememberForever('category:detail:d985a46', object(Closure))
  4. at call_user_func_array(array(object(Repository), 'rememberForever'), array('category:detail:d985a46', object(Closure))) in CacheManager.php line 318
  5. at CacheManager->__call('rememberForever', array('category:detail:d985a46', object(Closure))) in Facade.php line 217
  6. at Facade::__callStatic('rememberForever', array('category:detail:d985a46', object(Closure))) in Category.php line 51
  7. at Category::getDetail(array('id' => false, 'file_name' => 'tongxunzengqiang')) in AppController.php line 165
  8. at AppController->parseBreadCrumbs(array('tongxunzengqiang', '0', 'id', '1')) in AppController.php line 55
  9. at AppController->category(object(Request), 'tongxunzengqiang')
  10. at call_user_func_array(array(object(AppController), 'category'), array(object(Request), 'fileName' => 'tongxunzengqiang')) in Controller.php line 256
  11. at Controller->callAction('category', array(object(Request), 'fileName' => 'tongxunzengqiang')) in ControllerDispatcher.php line 164
  12. at ControllerDispatcher->call(object(AppController), object(Route), 'category') in ControllerDispatcher.php line 112
  13. at ControllerDispatcher->Illuminate\Routing\{closure}(object(Request))
  14. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 139
  15. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  16. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 102
  17. at Pipeline->then(object(Closure)) in ControllerDispatcher.php line 114
  18. at ControllerDispatcher->callWithinStack(object(AppController), object(Route), object(Request), 'category') in ControllerDispatcher.php line 67
  19. at ControllerDispatcher->dispatch(object(Route), object(Request), 'App\Http\Controllers\Www\AppController', 'category') in Route.php line 203
  20. at Route->runWithCustomDispatcher(object(Request)) in Route.php line 134
  21. at Route->run(object(Request)) in Router.php line 708
  22. at Router->Illuminate\Routing\{closure}(object(Request))
  23. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 139
  24. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  25. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 102
  26. at Pipeline->then(object(Closure)) in Router.php line 710
  27. at Router->runRouteWithinStack(object(Route), object(Request)) in Router.php line 673
  28. at Router->dispatchToRoute(object(Request)) in Router.php line 635
  29. at Router->dispatch(object(Request)) in Kernel.php line 236
  30. at Kernel->Illuminate\Foundation\Http\{closure}(object(Request))
  31. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 139
  32. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in VerifyCsrfToken.php line 50
  33. at VerifyCsrfToken->handle(object(Request), object(Closure))
  34. at call_user_func_array(array(object(VerifyCsrfToken), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
  35. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in ShareErrorsFromSession.php line 49
  36. at ShareErrorsFromSession->handle(object(Request), object(Closure))
  37. at call_user_func_array(array(object(ShareErrorsFromSession), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
  38. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in StartSession.php line 62
  39. at StartSession->handle(object(Request), object(Closure))
  40. at call_user_func_array(array(object(StartSession), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
  41. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in AddQueuedCookiesToResponse.php line 37
  42. at AddQueuedCookiesToResponse->handle(object(Request), object(Closure))
  43. at call_user_func_array(array(object(AddQueuedCookiesToResponse), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
  44. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in EncryptCookies.php line 59
  45. at EncryptCookies->handle(object(Request), object(Closure))
  46. at call_user_func_array(array(object(EncryptCookies), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
  47. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in CheckForMaintenanceMode.php line 44
  48. at CheckForMaintenanceMode->handle(object(Request), object(Closure))
  49. at call_user_func_array(array(object(CheckForMaintenanceMode), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
  50. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  51. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 102
  52. at Pipeline->then(object(Closure)) in Kernel.php line 122
  53. at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 87
  54. at Kernel->handle(object(Request)) in index.php line 52