Whoops, looks like something went wrong.

2/2 ErrorException in Sentinel.php line 872: Method Cartalyst\Sentinel\Sentinel::inRole() can only be called if a user is logged in. (View: /home2/wafaahr/public_html/project/resources/views/wafa/account/account.blade.php)

  1. in Sentinel.php line 872
  2. at CompilerEngine->handleViewException(object(BadMethodCallException), '0') in PhpEngine.php line 44
  3. at PhpEngine->evaluatePath('/home2/wafaahr/public_html/project/storage/framework/views/8e39699e27598526d734e785864e16cafafff115.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'current_locale' => object(stdClass), 'available_locales' => array(object(stdClass), object(stdClass)), 'title' => 'موقع جديد', 'breadcrumbs' => array(array('text' => 'الرئيسة', 'href' => 'http://www.wafaahr.org'), array('text' => 'الحساب', 'href' => 'http://www.wafaahr.org/account/account')), 'config' => array('add_this_script' => '', 'address' => 'مؤسسة وافا للمنح الدراسية والطلابية ', 'agree' => '4', 'default_language_code' => 'ar', 'description' => 'أهلاً بك في موقع وافا للمنح الدراسية ', 'email' => 'example@example.com', 'google_analytics' => ' ', 'icon' => 'favicon.icon', 'keywords' => 'وافا ', 'logo' => '1488113402.png', 'menu' => '', 'partner' => '7', 'responsive_design' => 'yes', 'slider' => '3', 'telephone' => '999888777', 'title' => 'وافا للمنح الدراسية | Wafaa For Scholarships'), 'social' => array('facebook' => '', 'google' => '', 'linkedin' => '', 'twitter' => ''), 'social_api' => array('facebook' => array('enabled' => '1', 'redirect' => 'http://www.wafaahr.org/social/handle/facebook'), 'google' => array('enabled' => '1', 'redirect' => 'http://www.wafaahr.org/social/handle/google'), 'linkedin' => array('enabled' => '0', 'redirect' => 'http://www.wafaahr.org/social/handle/linkedin'), 'twitter' => array('enabled' => '1', 'redirect' => 'http://www.wafaahr.org/social/handle/twitter')), 'footer_informations' => object(Collection), 'top_informations' => object(Collection), 'top_categories' => object(Collection))) in CompilerEngine.php line 59
  4. at CompilerEngine->get('/home2/wafaahr/public_html/project/resources/views/wafa/account/account.blade.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'current_locale' => object(stdClass), 'available_locales' => array(object(stdClass), object(stdClass)), 'title' => 'موقع جديد', 'breadcrumbs' => array(array('text' => 'الرئيسة', 'href' => 'http://www.wafaahr.org'), array('text' => 'الحساب', 'href' => 'http://www.wafaahr.org/account/account')), 'config' => array('add_this_script' => '', 'address' => 'مؤسسة وافا للمنح الدراسية والطلابية ', 'agree' => '4', 'default_language_code' => 'ar', 'description' => 'أهلاً بك في موقع وافا للمنح الدراسية ', 'email' => 'example@example.com', 'google_analytics' => ' ', 'icon' => 'favicon.icon', 'keywords' => 'وافا ', 'logo' => '1488113402.png', 'menu' => '', 'partner' => '7', 'responsive_design' => 'yes', 'slider' => '3', 'telephone' => '999888777', 'title' => 'وافا للمنح الدراسية | Wafaa For Scholarships'), 'social' => array('facebook' => '', 'google' => '', 'linkedin' => '', 'twitter' => ''), 'social_api' => array('facebook' => array('enabled' => '1', 'redirect' => 'http://www.wafaahr.org/social/handle/facebook'), 'google' => array('enabled' => '1', 'redirect' => 'http://www.wafaahr.org/social/handle/google'), 'linkedin' => array('enabled' => '0', 'redirect' => 'http://www.wafaahr.org/social/handle/linkedin'), 'twitter' => array('enabled' => '1', 'redirect' => 'http://www.wafaahr.org/social/handle/twitter')), 'footer_informations' => object(Collection), 'top_informations' => object(Collection), 'top_categories' => object(Collection))) in View.php line 149
  5. at View->getContents() in View.php line 120
  6. at View->renderContents() in View.php line 85
  7. at View->render() in Response.php line 53
  8. at Response->setContent(object(View)) in Response.php line 201
  9. at Response->__construct(object(View)) in Router.php line 1085
  10. at Router->prepareResponse(object(Request), object(View)) in ControllerDispatcher.php line 94
  11. at ControllerDispatcher->Illuminate\Routing\{closure}(object(Request))
  12. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 52
  13. at Pipeline->Illuminate\Routing\{closure}(object(Request))
  14. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 102
  15. at Pipeline->then(object(Closure)) in ControllerDispatcher.php line 96
  16. at ControllerDispatcher->callWithinStack(object(AccountController), object(Route), object(Request), 'index') in ControllerDispatcher.php line 54
  17. at ControllerDispatcher->dispatch(object(Route), object(Request), 'App\Http\Controllers\Site\Account\AccountController', 'index') in Route.php line 174
  18. at Route->runController(object(Request)) in Route.php line 140
  19. at Route->run(object(Request)) in Router.php line 724
  20. at Router->Illuminate\Routing\{closure}(object(Request))
  21. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 52
  22. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in Localize.php line 42
  23. at Localize->handle(object(Request), object(Closure))
  24. at call_user_func_array(array(object(Localize), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 136
  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 VerifyCsrfToken.php line 64
  28. at VerifyCsrfToken->handle(object(Request), object(Closure))
  29. at call_user_func_array(array(object(VerifyCsrfToken), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 136
  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 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 136
  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 StartSession.php line 64
  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 136
  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 AddQueuedCookiesToResponse.php line 37
  43. at AddQueuedCookiesToResponse->handle(object(Request), object(Closure))
  44. at call_user_func_array(array(object(AddQueuedCookiesToResponse), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 136
  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)) in EncryptCookies.php line 59
  48. at EncryptCookies->handle(object(Request), object(Closure))
  49. at call_user_func_array(array(object(EncryptCookies), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 136
  50. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  51. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
  52. at Pipeline->Illuminate\Routing\{closure}(object(Request))
  53. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 102
  54. at Pipeline->then(object(Closure)) in Router.php line 726
  55. at Router->runRouteWithinStack(object(Route), object(Request)) in Router.php line 699
  56. at Router->dispatchToRoute(object(Request)) in Router.php line 675
  57. at Router->dispatch(object(Request)) in Kernel.php line 246
  58. at Kernel->Illuminate\Foundation\Http\{closure}(object(Request))
  59. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 52
  60. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in CheckForMaintenanceMode.php line 44
  61. at CheckForMaintenanceMode->handle(object(Request), object(Closure))
  62. at call_user_func_array(array(object(CheckForMaintenanceMode), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 136
  63. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  64. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
  65. at Pipeline->Illuminate\Routing\{closure}(object(Request))
  66. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 102
  67. at Pipeline->then(object(Closure)) in Kernel.php line 132
  68. at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 99
  69. at Kernel->handle(object(Request)) in index.php line 59

1/2 BadMethodCallException in Sentinel.php line 872: Method Cartalyst\Sentinel\Sentinel::inRole() can only be called if a user is logged in.

  1. in Sentinel.php line 872
  2. at Sentinel->__call('inRole', array('student')) in Facade.php line 217
  3. at Facade::__callStatic('inRole', array('student')) in 8e39699e27598526d734e785864e16cafafff115.php line 30
  4. at include('/home2/wafaahr/public_html/project/storage/framework/views/8e39699e27598526d734e785864e16cafafff115.php') in PhpEngine.php line 42
  5. at PhpEngine->evaluatePath('/home2/wafaahr/public_html/project/storage/framework/views/8e39699e27598526d734e785864e16cafafff115.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'current_locale' => object(stdClass), 'available_locales' => array(object(stdClass), object(stdClass)), 'title' => 'موقع جديد', 'breadcrumbs' => array(array('text' => 'الرئيسة', 'href' => 'http://www.wafaahr.org'), array('text' => 'الحساب', 'href' => 'http://www.wafaahr.org/account/account')), 'config' => array('add_this_script' => '', 'address' => 'مؤسسة وافا للمنح الدراسية والطلابية ', 'agree' => '4', 'default_language_code' => 'ar', 'description' => 'أهلاً بك في موقع وافا للمنح الدراسية ', 'email' => 'example@example.com', 'google_analytics' => ' ', 'icon' => 'favicon.icon', 'keywords' => 'وافا ', 'logo' => '1488113402.png', 'menu' => '', 'partner' => '7', 'responsive_design' => 'yes', 'slider' => '3', 'telephone' => '999888777', 'title' => 'وافا للمنح الدراسية | Wafaa For Scholarships'), 'social' => array('facebook' => '', 'google' => '', 'linkedin' => '', 'twitter' => ''), 'social_api' => array('facebook' => array('enabled' => '1', 'redirect' => 'http://www.wafaahr.org/social/handle/facebook'), 'google' => array('enabled' => '1', 'redirect' => 'http://www.wafaahr.org/social/handle/google'), 'linkedin' => array('enabled' => '0', 'redirect' => 'http://www.wafaahr.org/social/handle/linkedin'), 'twitter' => array('enabled' => '1', 'redirect' => 'http://www.wafaahr.org/social/handle/twitter')), 'footer_informations' => object(Collection), 'top_informations' => object(Collection), 'top_categories' => object(Collection))) in CompilerEngine.php line 59
  6. at CompilerEngine->get('/home2/wafaahr/public_html/project/resources/views/wafa/account/account.blade.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'current_locale' => object(stdClass), 'available_locales' => array(object(stdClass), object(stdClass)), 'title' => 'موقع جديد', 'breadcrumbs' => array(array('text' => 'الرئيسة', 'href' => 'http://www.wafaahr.org'), array('text' => 'الحساب', 'href' => 'http://www.wafaahr.org/account/account')), 'config' => array('add_this_script' => '', 'address' => 'مؤسسة وافا للمنح الدراسية والطلابية ', 'agree' => '4', 'default_language_code' => 'ar', 'description' => 'أهلاً بك في موقع وافا للمنح الدراسية ', 'email' => 'example@example.com', 'google_analytics' => ' ', 'icon' => 'favicon.icon', 'keywords' => 'وافا ', 'logo' => '1488113402.png', 'menu' => '', 'partner' => '7', 'responsive_design' => 'yes', 'slider' => '3', 'telephone' => '999888777', 'title' => 'وافا للمنح الدراسية | Wafaa For Scholarships'), 'social' => array('facebook' => '', 'google' => '', 'linkedin' => '', 'twitter' => ''), 'social_api' => array('facebook' => array('enabled' => '1', 'redirect' => 'http://www.wafaahr.org/social/handle/facebook'), 'google' => array('enabled' => '1', 'redirect' => 'http://www.wafaahr.org/social/handle/google'), 'linkedin' => array('enabled' => '0', 'redirect' => 'http://www.wafaahr.org/social/handle/linkedin'), 'twitter' => array('enabled' => '1', 'redirect' => 'http://www.wafaahr.org/social/handle/twitter')), 'footer_informations' => object(Collection), 'top_informations' => object(Collection), 'top_categories' => object(Collection))) in View.php line 149
  7. at View->getContents() in View.php line 120
  8. at View->renderContents() in View.php line 85
  9. at View->render() in Response.php line 53
  10. at Response->setContent(object(View)) in Response.php line 201
  11. at Response->__construct(object(View)) in Router.php line 1085
  12. at Router->prepareResponse(object(Request), object(View)) in ControllerDispatcher.php line 94
  13. at ControllerDispatcher->Illuminate\Routing\{closure}(object(Request))
  14. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 52
  15. at Pipeline->Illuminate\Routing\{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 96
  18. at ControllerDispatcher->callWithinStack(object(AccountController), object(Route), object(Request), 'index') in ControllerDispatcher.php line 54
  19. at ControllerDispatcher->dispatch(object(Route), object(Request), 'App\Http\Controllers\Site\Account\AccountController', 'index') in Route.php line 174
  20. at Route->runController(object(Request)) in Route.php line 140
  21. at Route->run(object(Request)) in Router.php line 724
  22. at Router->Illuminate\Routing\{closure}(object(Request))
  23. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 52
  24. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in Localize.php line 42
  25. at Localize->handle(object(Request), object(Closure))
  26. at call_user_func_array(array(object(Localize), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 136
  27. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  28. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
  29. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in VerifyCsrfToken.php line 64
  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 136
  32. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  33. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
  34. at Pipeline->Illuminate\Routing\{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 136
  37. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  38. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
  39. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in StartSession.php line 64
  40. at StartSession->handle(object(Request), object(Closure))
  41. at call_user_func_array(array(object(StartSession), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 136
  42. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  43. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
  44. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in AddQueuedCookiesToResponse.php line 37
  45. at AddQueuedCookiesToResponse->handle(object(Request), object(Closure))
  46. at call_user_func_array(array(object(AddQueuedCookiesToResponse), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 136
  47. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  48. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
  49. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in EncryptCookies.php line 59
  50. at EncryptCookies->handle(object(Request), object(Closure))
  51. at call_user_func_array(array(object(EncryptCookies), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 136
  52. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  53. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
  54. at Pipeline->Illuminate\Routing\{closure}(object(Request))
  55. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 102
  56. at Pipeline->then(object(Closure)) in Router.php line 726
  57. at Router->runRouteWithinStack(object(Route), object(Request)) in Router.php line 699
  58. at Router->dispatchToRoute(object(Request)) in Router.php line 675
  59. at Router->dispatch(object(Request)) in Kernel.php line 246
  60. at Kernel->Illuminate\Foundation\Http\{closure}(object(Request))
  61. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 52
  62. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in CheckForMaintenanceMode.php line 44
  63. at CheckForMaintenanceMode->handle(object(Request), object(Closure))
  64. at call_user_func_array(array(object(CheckForMaintenanceMode), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 136
  65. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  66. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
  67. at Pipeline->Illuminate\Routing\{closure}(object(Request))
  68. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 102
  69. at Pipeline->then(object(Closure)) in Kernel.php line 132
  70. at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 99
  71. at Kernel->handle(object(Request)) in index.php line 59