MemberAccessException

Call to undefined method Nette\Web\User::isLogedIn().

Source file

Call stack

  1. Utils/Object.php (82) source   Nette\ObjectMixin:: call (arguments )

  2. presenters/DashboardPresenter.php (14) source   Nette\Object-> __call (arguments )

    Line  7:
    Line  8:    class DashboardPresenter extends BasePresenter
    Line  9:    {
    Line 10:
    Line 11:        protected function startup()
    Line 12:        {
    Line 13:            // user authentication
    Line 14:            if (!$this->user->isLogedIn()) {
    Line 15:                if ($this->user->logoutReason === Nette\Web\User::INACTIVITY) {
    Line 16:                    $this->flashMessage('You have been signed out due to inactivity. Please sign in again.');
    Line 17:                }
    Line 18:                $backlink $this->application->storeRequest();
    Line 19:                $this->redirect('Sign:in', array('backlink' => $backlink));
    Line 20:            }
    Line 21:
    
  3. presenters/DashboardPresenter.php (14) source   Nette\Web\User-> isLogedIn ()

  4. Application/Presenter.php (157) source   DashboardPresenter-> startup ()

  5. Application/Application.php (135) source   Nette\Application\Presenter-> run (arguments )

  6. app/bootstrap.php (58) source   Nette\Application\Application-> run ()

  7. document_root/index.php (16) source   require (arguments )

Nette Application

Environment

HTTP request

HTTP response