Whoops, looks like something went wrong.

1/1 FatalThrowableError in OfficialLifeController.php line 16: Type error: Too few arguments to function App\Http\Controllers\Front\OfficialLifeController::index(), 1 passed and exactly 2 expected

  1. in OfficialLifeController.php line 16
  2. at OfficialLifeController->index(object(PostType))
  3. at call_user_func_array(array(object(OfficialLifeController), 'index'), array('postTypeSlug' => object(PostType))) in compiled.php line 9424
  4. at Controller->callAction('index', array('postTypeSlug' => object(PostType))) in compiled.php line 9486
  5. at ControllerDispatcher->call(object(OfficialLifeController), object(Route), 'index') in compiled.php line 9466
  6. at ControllerDispatcher->Illuminate\Routing\{closure}(object(Request))
  7. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 52
  8. at Pipeline->Illuminate\Routing\{closure}(object(Request))
  9. at call_user_func(object(Closure), object(Request)) in compiled.php line 9948
  10. at Pipeline->then(object(Closure)) in compiled.php line 9467
  11. at ControllerDispatcher->callWithinStack(object(OfficialLifeController), object(Route), object(Request), 'index') in compiled.php line 9454
  12. at ControllerDispatcher->dispatch(object(Route), object(Request), 'App\Http\Controllers\Front\OfficialLifeController', 'index') in compiled.php line 8524
  13. at Route->runController(object(Request)) in compiled.php line 8511
  14. at Route->run(object(Request)) in compiled.php line 8225
  15. at Router->Illuminate\Routing\{closure}(object(Request))
  16. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 52
  17. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in SwitchLocale.php line 34
  18. at SwitchLocale->handle(object(Request), object(Closure))
  19. at call_user_func_array(array(object(SwitchLocale), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9963
  20. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  21. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
  22. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in compiled.php line 3225
  23. at VerifyCsrfToken->handle(object(Request), object(Closure))
  24. at call_user_func_array(array(object(VerifyCsrfToken), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9963
  25. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  26. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
  27. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in compiled.php line 13474
  28. at ShareErrorsFromSession->handle(object(Request), object(Closure))
  29. at call_user_func_array(array(object(ShareErrorsFromSession), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9963
  30. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  31. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
  32. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in compiled.php line 11964
  33. at StartSession->handle(object(Request), object(Closure))
  34. at call_user_func_array(array(object(StartSession), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9963
  35. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  36. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
  37. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in compiled.php line 13213
  38. at AddQueuedCookiesToResponse->handle(object(Request), object(Closure))
  39. at call_user_func_array(array(object(AddQueuedCookiesToResponse), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9963
  40. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  41. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
  42. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in compiled.php line 13150
  43. at EncryptCookies->handle(object(Request), object(Closure))
  44. at call_user_func_array(array(object(EncryptCookies), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9963
  45. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  46. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
  47. at Pipeline->Illuminate\Routing\{closure}(object(Request))
  48. at call_user_func(object(Closure), object(Request)) in compiled.php line 9948
  49. at Pipeline->then(object(Closure)) in compiled.php line 8226
  50. at Router->runRouteWithinStack(object(Route), object(Request)) in compiled.php line 8217
  51. at Router->dispatchToRoute(object(Request)) in compiled.php line 8207
  52. at Router->dispatch(object(Request)) in compiled.php line 2419
  53. at Kernel->Illuminate\Foundation\Http\{closure}(object(Request))
  54. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 52
  55. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in compiled.php line 3286
  56. at CheckForMaintenanceMode->handle(object(Request), object(Closure))
  57. at call_user_func_array(array(object(CheckForMaintenanceMode), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9963
  58. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  59. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
  60. at Pipeline->Illuminate\Routing\{closure}(object(Request))
  61. at call_user_func(object(Closure), object(Request)) in compiled.php line 9948
  62. at Pipeline->then(object(Closure)) in compiled.php line 2366
  63. at Kernel->sendRequestThroughRouter(object(Request)) in compiled.php line 2350
  64. at Kernel->handle(object(Request)) in index.php line 55
  65. at require_once('/home/jasmar0/public_html/tammamsalam.net/public/index.php') in index.php line 22