error with profile icon and gravitar
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
High
|
Son Nguyen |
Bug Description
When I have 'use gravitar' turned on and then I go to alter view access and share with friends I get this error:
[WAR] ee (lib/user.php:2685) remote_avatar_url: size should be in (16, 20, 25, 40, 50, 60, 100)
Call stack (most recent first):
log_
log_
remote_
[WAR] ee (lib/user.php:2690) Array to string conversion
Call stack (most recent first):
log_
error(8, "Array to string conversion", "/home/
remote_
[DBG] ee (lib/web.php:1012) Missing file in theme default: images/
I notice that the $size being passed in is not a string but an array
eg:
[DBG] ee (lib/user.php:2683) Array
(
[maxw] => 25
[maxh] => 25
)
Changed in mahara: | |
milestone: | none → 1.10.0 |
assignee: | nobody → Son Nguyen (ngson2000) |
importance: | Undecided → High |
status: | New → Confirmed |
Changed in mahara: | |
status: | Confirmed → In Progress |
Changed in mahara: | |
status: | In Progress → Fix Committed |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
Patch for "master" branch: https:/ /reviews. mahara. org/3789