This was found in the PHP error log as:
"Trying to get property of non-object in %HTDOCS%/lib/profileaction.php on line 270"
// TRANS: H2 text for user group membership statistics.
$this->statsSectionLink('usergroups', _('Groups'));
$this->text(' ');
// TRANS: H2 text for user group membership statistics.
$this->statsSectionLink('usergroups', _('Groups'));
$this->text(' ');
- $this->text($this->profile->getGroups(0, null)->N);
+ $this->text($this->profile->getGroupCount());
$this->elementEnd('h2');
if ($groups instanceof User_group) {
$this->elementEnd('h2');
if ($groups instanceof User_group) {