That is true, attempt to access user that has been created but does not
have profile will cause fatal error.

Regarding your question, yes, it is possible to have the user without
profile. The profile view is created on the first user login, see
auth/user.php, load_views() call from authenticate().

** Changed in: mahara
       Status: New => Confirmed

** Changed in: mahara
   Importance: Undecided => Low

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/885588

Title:
  user/view.php PHP Fatal error in non-auth access

Status in Mahara ePortfolio:
  Confirmed

Bug description:
  This is Mahara 1.4.0:

  Each 4 minutes or so, I was getting the following error on PHP error
  log:

  PHP Fatal error:  Call to a member function get() on a non-object in
  [MAHARA_DIRROOT]/user/view.php on line 67

  To reproduce just access /user/view.php without being authenticated.
  The access log shows GoogleBot trying to access user's profile page.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/885588/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~mahara-contributors
Post to     : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp

Reply via email to