After logging in with gigya, and the looking at the page user/UID/edit. The following error shows:

Undefined index: #title in template_preprocess_user_profile_item() (line 209 of modules/user/user.pages.inc)

This issue also happend in simplenews. The fix was a empty #title, see issue here: http://drupal.org/node/964242

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

vordude’s picture

Status: Active » Needs review
FileSize
412 bytes

Here's the Patch: adding a #title => '' so it can stop yelling at us.

vordude’s picture

Status: Needs review » Closed (fixed)

committed in 325bef55

vordude’s picture

Status: Closed (fixed) » Fixed

committed in 325bef55

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

ericduran’s picture

Version: 7.x-3.0-beta1 » 7.x-3.0-beta2
Status: Closed (fixed) » Active

It looks like a notice was missed.

<?php
      $account->content['gigya']['no_networks']['no_network'] = array(
        '#type' => 'user_profile_item',
        '#markup' => t('You are currently not connected to any social network. !connect', array('!connect' => l(t('Click here to connect to a social network'), 'user/' . $account->uid . '/edit/gigya'))),
      );
?>

This is also missing the #title => ''

ericduran’s picture

Patch attached.

gambaweb’s picture

thanks for that add the patch

sokrplare’s picture

Version: 7.x-3.0-beta2 » 7.x-3.1

This looks like it is committed in 7.x-3.1 so I'm closing it out since that is the available release. Feel totally free to reopen if I'm in the wrong here!

gambaweb’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.