Whoops, looks like something went wrong.

1/1 ErrorException in Builder.php line 1063: count(): Parameter must be an array or an object that implements Countable

  1. in Builder.php line 1063
  2. at HandleExceptions->handleError()
  3. at count() in Builder.php line 1063
  4. at Builder->callScope() in Builder.php line 1333
  5. at Builder->__call() in RepositoriesAbstract.php line 64
  6. at RepositoriesAbstract->getFirstBy() in CacheAbstractDecorator.php line 162
  7. at CacheAbstractDecorator->getFirstBy() in PublicController.php line 59
  8. at PublicController->redirectToHomepage()
  9. at call_user_func_array() in Controller.php line 80
  10. at Controller->callAction() in ControllerDispatcher.php line 146
  11. at ControllerDispatcher->call() in ControllerDispatcher.php line 94
  12. at ControllerDispatcher->Illuminate\Routing\{closure}()
  13. at call_user_func() in Pipeline.php line 52
  14. at Pipeline->Illuminate\Routing\{closure}() in PublicCache.php line 23
  15. at PublicCache->handle()
  16. at call_user_func_array() in Pipeline.php line 136
  17. at Pipeline->Illuminate\Pipeline\{closure}()
  18. at call_user_func() in Pipeline.php line 32
  19. at Pipeline->Illuminate\Routing\{closure}() in PublicAccess.php line 31
  20. at PublicAccess->handle()
  21. at call_user_func_array() in Pipeline.php line 136
  22. at Pipeline->Illuminate\Pipeline\{closure}()
  23. at call_user_func() in Pipeline.php line 32
  24. at Pipeline->Illuminate\Routing\{closure}() in VerifyCsrfToken.php line 64
  25. at VerifyCsrfToken->handle()
  26. at call_user_func_array() in Pipeline.php line 136
  27. at Pipeline->Illuminate\Pipeline\{closure}()
  28. at call_user_func() in Pipeline.php line 32
  29. at Pipeline->Illuminate\Routing\{closure}() in ShareErrorsFromSession.php line 49
  30. at ShareErrorsFromSession->handle()
  31. at call_user_func_array() in Pipeline.php line 136
  32. at Pipeline->Illuminate\Pipeline\{closure}()
  33. at call_user_func() in Pipeline.php line 32
  34. at Pipeline->Illuminate\Routing\{closure}() in AddQueuedCookiesToResponse.php line 37
  35. at AddQueuedCookiesToResponse->handle()
  36. at call_user_func_array() in Pipeline.php line 136
  37. at Pipeline->Illuminate\Pipeline\{closure}()
  38. at call_user_func() in Pipeline.php line 32
  39. at Pipeline->Illuminate\Routing\{closure}() in EncryptCookies.php line 59
  40. at EncryptCookies->handle()
  41. at call_user_func_array() in Pipeline.php line 136
  42. at Pipeline->Illuminate\Pipeline\{closure}()
  43. at call_user_func() in Pipeline.php line 32
  44. at Pipeline->Illuminate\Routing\{closure}()
  45. at call_user_func() in Pipeline.php line 102
  46. at Pipeline->then() in ControllerDispatcher.php line 96
  47. at ControllerDispatcher->callWithinStack() in ControllerDispatcher.php line 54
  48. at ControllerDispatcher->dispatch() in Route.php line 174
  49. at Route->runController() in Route.php line 140
  50. at Route->run() in Router.php line 724
  51. at Router->Illuminate\Routing\{closure}()
  52. at call_user_func() in Pipeline.php line 52
  53. at Pipeline->Illuminate\Routing\{closure}()
  54. at call_user_func() in Pipeline.php line 102
  55. at Pipeline->then() in Router.php line 726
  56. at Router->runRouteWithinStack() in Router.php line 699
  57. at Router->dispatchToRoute() in Router.php line 675
  58. at Router->dispatch() in Kernel.php line 246
  59. at Kernel->Illuminate\Foundation\Http\{closure}()
  60. at call_user_func() in Pipeline.php line 52
  61. at Pipeline->Illuminate\Routing\{closure}() in NotificationMiddleware.php line 58
  62. at NotificationMiddleware->handle()
  63. at call_user_func_array() in Pipeline.php line 136
  64. at Pipeline->Illuminate\Pipeline\{closure}()
  65. at call_user_func() in Pipeline.php line 32
  66. at Pipeline->Illuminate\Routing\{closure}() in CheckForMaintenanceMode.php line 44
  67. at CheckForMaintenanceMode->handle()
  68. at call_user_func_array() in Pipeline.php line 136
  69. at Pipeline->Illuminate\Pipeline\{closure}()
  70. at call_user_func() in Pipeline.php line 32
  71. at Pipeline->Illuminate\Routing\{closure}() in PublicLocale.php line 50
  72. at PublicLocale->handle()
  73. at call_user_func_array() in Pipeline.php line 136
  74. at Pipeline->Illuminate\Pipeline\{closure}()
  75. at call_user_func() in Pipeline.php line 32
  76. at Pipeline->Illuminate\Routing\{closure}() in StartSession.php line 62
  77. at StartSession->handle()
  78. at call_user_func_array() in Pipeline.php line 136
  79. at Pipeline->Illuminate\Pipeline\{closure}()
  80. at call_user_func() in Pipeline.php line 32
  81. at Pipeline->Illuminate\Routing\{closure}()
  82. at call_user_func() in Pipeline.php line 102
  83. at Pipeline->then() in Kernel.php line 132
  84. at Kernel->sendRequestThroughRouter() in Kernel.php line 99
  85. at Kernel->handle() in index.php line 53