** Changed in: mahara Status: In Progress => Fix Committed -- 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/1380433
Title: error with profile icon and gravitar Status in Mahara ePortfolio: Fix Committed 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_message("remote_avatar_url: size should be in (16, 20, 25, ...", 8, true, true) at /home/robertl/htdocs/mahara-devel/mahara/htdocs/lib/errors.php:95 log_warn("remote_avatar_url: size should be in (16, 20, 25, ...") at /home/robertl/htdocs/mahara-devel/mahara/htdocs/lib/user.php:2685 remote_avatar_url("fr...@catalyst.net.nz", array(size 2)) at /home/robertl/htdocs/mahara-devel/mahara/htdocs/thumb.php:78 [WAR] ee (lib/user.php:2690) Array to string conversion Call stack (most recent first): log_message("Array to string conversion", 8, true, true, "/home/robertl/htdocs/mahara-devel/mahara/htdocs/li...", 2690) at /home/robertl/htdocs/mahara-devel/mahara/htdocs/lib/errors.php:439 error(8, "Array to string conversion", "/home/robertl/htdocs/mahara-devel/mahara/htdocs/li...", 2690, array(size 4)) at /home/robertl/htdocs/mahara-devel/mahara/htdocs/lib/user.php:2690 remote_avatar_url("fr...@catalyst.net.nz", array(size 2)) at /home/robertl/htdocs/mahara-devel/mahara/htdocs/thumb.php:78 [DBG] ee (lib/web.php:1012) Missing file in theme default: images/no_userphotoArray.png 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 ) To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/1380433/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~mahara-contributors Post to : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp