← Back to team overview

mahara-contributors team mailing list archive

[Bug 1222350] A change has been merged

 

Reviewed:  https://reviews.mahara.org/2504
Committed: http://gitorious.org/mahara/mahara/commit/29afdf8ad017ff2cec4fd936c059722dc542e812
Submitter: Aaron Wells (aaronw@xxxxxxxxxxxxxxx)
Branch:    master

commit 29afdf8ad017ff2cec4fd936c059722dc542e812
Author: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
Date:   Wed Sep 18 07:34:22 2013 +1200

Friendship request throws error (bug 1222350)

- throwing 'Creating default object from empty value' error
- need to declare stdClass first

Change-Id: Ia736475e49c88e9a74bfc1480def370cb65440f5
Signed-off-by: Robert Lyon <robertl@xxxxxxxxxxxxxxx>

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1222350

Title:
  Friendship request throws error

Status in Mahara ePortfolio:
  In Progress

Bug description:
  on latest 1.8.0dev:

  When I request friendship with another user, I get the following
  warning:

  [WAR] c1 (user/requestfriendship.php:105) Creating default object from empty value
  Call stack (most recent first):

      log_message("Creating default object from empty value", 8, true, true, "/home/kristina/code/mahara/htdocs/user/requestfrie...", 105) at /home/kristina/code/mahara/htdocs/lib/errors.php:446
      error(2, "Creating default object from empty value", "/home/kristina/code/mahara/htdocs/user/requestfrie...", 105, array(size 12)) at /home/kristina/code/mahara/htdocs/user/requestfriendship.php:105
      requestfriendship_submit(object(Pieform), array(size 3)) at Unknown:0
      call_user_func_array("requestfriendship_submit", array(size 2)) at /home/kristina/code/mahara/htdocs/lib/pieforms/pieform.php:528
      Pieform->__construct(array(size 3)) at /home/kristina/code/mahara/htdocs/lib/pieforms/pieform.php:170
      Pieform::process(array(size 3)) at /home/kristina/code/mahara/htdocs/lib/pieforms/pieform.php:71
      pieform(array(size 3)) at /home/kristina/code/mahara/htdocs/user/requestfriendship.php:80

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


References