Undefined property: stdClass::$urlid after doing feedback
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Low
|
Robert Lyon | ||
1.6 |
Fix Released
|
Low
|
Robert Lyon | ||
1.7 |
Fix Released
|
Low
|
Robert Lyon | ||
1.8 |
Fix Released
|
Low
|
Robert Lyon |
Bug Description
I set up a new site and created a page as admin user. I added some feedback to page and then when I went to navigate away I got:
[WAR] a0 (lib/user.php:1629) Undefined property: stdClass::$urlid
Call stack (most recent first):
log_
error(8, "Undefined property: stdClass::$urlid", "/var/www/
profile_
ArtefactTyp
ArtefactTyp
add_
from what I could tell from the code the profile_url() call was fetching info about $user and that information was being called from get_user_
Changed in mahara: | |
status: | In Progress → Fix Committed |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
I noticed a warning message about "Undefined property: stdClass:$urlid" while creating a new group in similar circumstances.
I bet this is related to that recent bug about copied pages not properly getting their urlid filled in.