← Back to team overview

mahara-contributors team mailing list archive

[Bug 1242840] [NEW] Error message when inviting user into institution

 

Public bug reported:

1.8.0RC3dev, PHP 5.4; Ubuntu

At Admin -> Institutions -> Members -> People who have not requested
membership

When you invite a user (not "Add a user" as site admin!) you get

[WAR] dc (lib/activity.php:375) 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/18stable/htdocs/lib/activity.p...", 375) at /home/kristina/code/18stable/htdocs/lib/errors.php:430
    error(2, "Creating default object from empty value", "/home/kristina/code/18stable/htdocs/lib/activity.p...", 375, array(size 2)) at /home/kristina/code/18stable/htdocs/lib/activity.php:375
    ActivityType->add_urltext(array(size 2)) at /home/kristina/code/18stable/htdocs/lib/activity.php:730
    ActivityTypeInstitutionmessage->__construct(object(stdClass), false) at /home/kristina/code/18stable/htdocs/lib/activity.php:61
    handle_activity(object(stdClass), object(stdClass)) at /home/kristina/code/18stable/htdocs/lib/activity.php:34
    activity_occurred("institutionmessage", object(stdClass)) at /home/kristina/code/18stable/htdocs/lib/institution.php:353
    Institution->inviteUser(7) at /home/kristina/code/18stable/htdocs/lib/institution.php:367
    Institution->invite_users(array(size 1)) at /home/kristina/code/18stable/htdocs/admin/users/institutionusers.php:248
    institutionusers_submit(object(Pieform), array(size 5)) at Unknown:0
    call_user_func_array("institutionusers_submit", array(size 2)) at /home/kristina/code/18stable/htdocs/lib/pieforms/pieform.php:528
    Pieform->__construct(array(size 3)) at /home/kristina/code/18stable/htdocs/lib/pieforms/pieform.php:170
    Pieform::process(array(size 3)) at /home/kristina/code/18stable/htdocs/lib/pieforms/pieform.php:71
    pieform(array(size 3)) at /home/kristina/code/18stable/htdocs/admin/users/institutionusers.php:178

** Affects: mahara
     Importance: High
     Assignee: Robert Lyon (robertl-9)
         Status: Confirmed

** Changed in: mahara
     Assignee: (unassigned) => Robert Lyon (robertl-9)

-- 
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/1242840

Title:
  Error message when inviting user into institution

Status in Mahara ePortfolio:
  Confirmed

Bug description:
  1.8.0RC3dev, PHP 5.4; Ubuntu

  At Admin -> Institutions -> Members -> People who have not requested
  membership

  When you invite a user (not "Add a user" as site admin!) you get

  [WAR] dc (lib/activity.php:375) 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/18stable/htdocs/lib/activity.p...", 375) at /home/kristina/code/18stable/htdocs/lib/errors.php:430
      error(2, "Creating default object from empty value", "/home/kristina/code/18stable/htdocs/lib/activity.p...", 375, array(size 2)) at /home/kristina/code/18stable/htdocs/lib/activity.php:375
      ActivityType->add_urltext(array(size 2)) at /home/kristina/code/18stable/htdocs/lib/activity.php:730
      ActivityTypeInstitutionmessage->__construct(object(stdClass), false) at /home/kristina/code/18stable/htdocs/lib/activity.php:61
      handle_activity(object(stdClass), object(stdClass)) at /home/kristina/code/18stable/htdocs/lib/activity.php:34
      activity_occurred("institutionmessage", object(stdClass)) at /home/kristina/code/18stable/htdocs/lib/institution.php:353
      Institution->inviteUser(7) at /home/kristina/code/18stable/htdocs/lib/institution.php:367
      Institution->invite_users(array(size 1)) at /home/kristina/code/18stable/htdocs/admin/users/institutionusers.php:248
      institutionusers_submit(object(Pieform), array(size 5)) at Unknown:0
      call_user_func_array("institutionusers_submit", array(size 2)) at /home/kristina/code/18stable/htdocs/lib/pieforms/pieform.php:528
      Pieform->__construct(array(size 3)) at /home/kristina/code/18stable/htdocs/lib/pieforms/pieform.php:170
      Pieform::process(array(size 3)) at /home/kristina/code/18stable/htdocs/lib/pieforms/pieform.php:71
      pieform(array(size 3)) at /home/kristina/code/18stable/htdocs/admin/users/institutionusers.php:178

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


Follow ups

References