mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #14329
[Bug 1240846] Re: Warning when requesting institution membership
Have added patch for this:
https://reviews.mahara.org/#/c/2621/
** Changed in: mahara
Status: New => In Progress
** Changed in: mahara
Importance: Undecided => High
** 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/1240846
Title:
Warning when requesting institution membership
Status in Mahara ePortfolio:
In Progress
Bug description:
1.8.0rc2
When I request membership in an institution, I see the following
warning right after having submitted my request as a regular user:
[WAR] bf (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/mahara/htdocs/lib/activity.php", 375) at /home/kristina/code/mahara/htdocs/lib/errors.php:430
error(2, "Creating default object from empty value", "/home/kristina/code/mahara/htdocs/lib/activity.php", 375, array(size 2)) at /home/kristina/code/mahara/htdocs/lib/activity.php:375
ActivityType->add_urltext(array(size 2)) at /home/kristina/code/mahara/htdocs/lib/activity.php:726
ActivityTypeInstitutionmessage->__construct(object(stdClass), false) at /home/kristina/code/mahara/htdocs/lib/activity.php:61
handle_activity(object(stdClass), object(stdClass)) at /home/kristina/code/mahara/htdocs/lib/activity.php:34
activity_occurred("institutionmessage", object(stdClass)) at /home/kristina/code/mahara/htdocs/lib/institution.php:301
Institution->addRequestFromUser(object(LiveUser), "") at /home/kristina/code/mahara/htdocs/auth/user.php:835
User->add_institution_request("institutionc", "") at /home/kristina/code/mahara/htdocs/account/institutions.php:219
requestmembership_submit(object(Pieform), array(size 4)) at Unknown:0
call_user_func_array("requestmembership_submit", array(size 2)) at /home/kristina/code/mahara/htdocs/lib/pieforms/pieform.php:528
Pieform->__construct(array(size 5)) at /home/kristina/code/mahara/htdocs/lib/pieforms/pieform.php:170
Pieform::process(array(size 5)) at /home/kristina/code/mahara/htdocs/lib/pieforms/pieform.php:71
pieform(array(size 5)) at /home/kristina/code/mahara/htdocs/account/institutions.php:210
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1240846/+subscriptions
References