澳门永利官网线上娱乐

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