CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Profiles (Moderator: Dave Greenberg) »
  • Undefined index: in CRM_UF_Page_Group::extractGroupTypes() line 489
Pages: [1]

Author Topic: Undefined index: in CRM_UF_Page_Group::extractGroupTypes() line 489  (Read 467 times)

philiphart

  • I’m new here
  • *
  • Posts: 15
  • Karma: 0
Undefined index: in CRM_UF_Page_Group::extractGroupTypes() line 489
February 25, 2015, 07:46:06 pm
After upgrading to 4.5.6 I am getting the following error message on the Administer-Custom Data-Profiles page

Quote
Notice: Undefined index: in CRM_UF_Page_Group::extractGroupTypes() (line 489 of ***/sites/all/modules/civicrm/CRM/UF/Page/Group.php).

Line 489 is the second if statement here:

Code: [Select]
foreach ($valueParts as $val) {
          if (CRM_Utils_Rule::integer($val)) {
            $groupTypeValues[$val] = CRM_Utils_Array::value($val, $valueLabels);
          }
        }

        if (!is_array($returnGroupTypes[$typeName])) {
          $returnGroupTypes[$typeName] = array();
        }
        $returnGroupTypes[$typeName][$valueParts[0]] = $groupTypeValues;

After the upgrade, we had some issues with some custom Participant Data Fields similar to this issue: https://issues.civicrm.org/jira/browse/CRM-15427

And since the upgrade, we have also installed the Youth Registration Extension, but I have no specific evidence that either of these are related to the message above.

Any ideas?

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Profiles (Moderator: Dave Greenberg) »
  • Undefined index: in CRM_UF_Page_Group::extractGroupTypes() line 489

This forum was archived on 2017-11-26.