some times i become this message:

Notice: Undefined index: label in entity_metadata_token_info_alter() (Zeile 55 von /xxx/drupal7/sites/all/modules/entity/entity_metadata/entity_metadata.tokens.inc).
Notice: Undefined index: label in entity_metadata_token_info_alter() (Zeile 60 von /xxx/drupal7/sites/all/modules/entity/entity_metadata/entity_metadata.tokens.inc).
Notice: Undefined index: label in entity_metadata_token_info_alter() (Zeile 55 von /xxx/drupal7/sites/all/modules/entity/entity_metadata/entity_metadata.tokens.inc).
Notice: Undefined index: label in entity_metadata_token_info_alter() (Zeile 60 von /xxx/drupal7/sites/all/modules/entity/entity_metadata/entity_metadata.tokens.inc).

The message come also with entity-beta3. i use drupal 7-rc.

Thank for your help.

CommentFileSizeAuthor
#24 stack_back_trace.zip116.74 KBradoeka
#4 modules547.52 KBjyee
#2 modules2.jpg591.06 KBPeter Törnstrand
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

fago’s picture

Status: Needs work » Postponed (maintainer needs more info)

Please report the modules you have installed. This probably results by a module implementing the API wrong.

Peter Törnstrand’s picture

FileSize
591.06 KB

Also having this error, see attached image for installed modules. Probably has to do with Media module.

fago’s picture

In the screenshot entity-metadata isn't enabled at all? So I doubt the errors stem from this installation?

jyee’s picture

Version: 7.x-1.x-dev » 7.x-1.0-beta3
FileSize
547.52 KB

I'm receiving the same message on Drupal 7 RC2

Notice: Undefined index: label in entity_metadata_token_info_alter() (line 55 of sites/all/modules/contrib/entity/entity_metadata/entity_metadata.tokens.inc).
Notice: Undefined index: label in entity_metadata_token_info_alter() (line 60 of sites/all/modules/contrib/entity/entity_metadata/entity_metadata.tokens.inc).

I've attached a screenshot of my modules page

bojanz’s picture

Status: Postponed (maintainer needs more info) » Active

So it's either Organic Groups or Rules...

fago’s picture

Project: Entity API » Organic groups
Version: 7.x-1.0-beta3 » 7.x-1.x-dev
Component: Entity Metadata - main » og.module

thanks!
If it would be Rules, it would have to be appear for me to. So it must be og.

Are there any hook_entity_property_info() implementations not specifying a label?

amitaibu’s picture

I haven't touched this function in a long time, but it seems to have 'label':

/**
 * Implements hook_entity_property_info().
 *
 * Entity metadata hook.
 */
function og_entity_property_info() {
  $info = array();
  $properties = &$info['group']['properties'];

  $properties['gid'] = array(
    'label' => t("Group ID"),
    'type' => 'integer',
    'description' => t("The unique ID of the group."),
    'required' => TRUE,
  );

  $properties['etid'] = array(
    'label' => t("Object ID"),
    'type' => 'integer',
    'description' => t("The ID of the entity."),
    'required' => TRUE,
  );

  $properties['entity_type'] = array(
    'label' => t("Object type"),
    'type' => 'text',
    'description' => t("The entity type."),
    'required' => TRUE,
  );

  $properties['state'] = array(
    'label' => t("State"),
    'type' => 'text',
    'description' => t("The state of the group."),
    'setter callback' => 'entity_metadata_verbatim_set',
    'options list' => 'og_group_states',
  );

  $properties['label'] = array(
    'label' => t("Label"),
    'type' => 'text',
    'description' => t("The label of the entity."),
    'required' => TRUE,
  );

  $properties['created'] = array(
    'label' => t("Date created"),
    'type' => 'date',
    'description' => t("The date the group was created."),
    'setter callback' => 'entity_metadata_verbatim_set',
  );

  return $info;
}

(I know I still need to fix the function names to the new ones).

fago’s picture

Hm, that's indeed looking fine. Anyone else getting this warnings with entity metadata / entity tokens + og enabled when doing token replacements?

@jvee: You could help us identifying the problematic property info by debugging the problem, if you are aware of PHP? E.g. run debug(entity_metadata_get_info()) or dpm(entity_metadata_get_info()) and look for properties having no 'label' key, or just add a debug() statement to the line throwing the warnings.

dgastudio’s picture

last dev. version of all modules:

Notice: Undefined index: label in entity_metadata_token_info_alter() (line 55 of /home/u3220/domains/u3220.rapid.vps-private.net/sites/all/modules/entity/entity_metadata/entity_metadata.tokens.inc).
Notice: Undefined index: label in entity_metadata_token_info_alter() (line 60 of /home/u3220/domains/u3220.rapid.vps-private.net/sites/all/modules/entity/entity_metadata/entity_metadata.tokens.inc).

it happens to me after visit and save modules page.

geerlingguy’s picture

Ditto here. In addition, it seems that my node content (the body field) is disappearing after enabling OG 7.x-1.x-alpha1. If I disable the module, the body field appears in teasers and full node displays again.

[More testing:]

Every time I "Save configuration" on the modules page after making any changes (adding or removing any modules) with the 'Organic groups' module checked, I get the following warning:

Notice: Undefined index: label in entity_metadata_token_info_alter() (line 55 of /path/to/public_html/sites/all/modules/entity/entity_metadata/entity_metadata.tokens.inc).
Notice: Undefined index: label in entity_metadata_token_info_alter() (line 60 of /path/to/public_html/sites/all/modules/entity/entity_metadata/entity_metadata.tokens.inc).

That warning doesn't appear if Organic Groups is not enabled.

Running debug() on line 55's $properties, I get this for OG, which must be the problem... I think:

array (
  'getter callback' => 'entity_metadata_field_verbatim_get',
  'setter callback' => 'entity_metadata_field_verbatim_set',
  'data info' => 
  array (
    'properties' => 
    array (
      'properties' => 
      array (
        'gid' => 
        array (
          'type' => 'integer',
          'label' => 'The group this group content is associated with',
        ),
        'state' => 
        array (
          'type' => 'text',
          'label' => 'Group content state',
          'options list' => 'og_group_content_states',
        ),
        'created' => 
        array (
          'type' => 'integer',
          'label' => 'Created timestamp',
        ),
      ),
    ),
  ),
)

All other $properties arrays are defined in a format similar to this:

array (
  'label' => 'Current date',
  'description' => 'The current date and time.',
  'getter callback' => 'entity_metadata_system_get_properties',
  'type' => 'date',
)
fago’s picture

Oh, also 'data info' containing 'properties' is rather outdated. It's just 'property info' => .. now.

amitaibu’s picture

Status: Active » Reviewed & tested by the community

Fixed the property callback array in github -- https://github.com/amitaibu/og/commit/b49e4717429875741fcf9bf6a400262fd1...

Will mark as fixed once synced with CVS.

geerlingguy’s picture

I just updated to the latest git revision from your repository, and the error no longer appears (with the latest -dev of Entity API and Drupal Core).

However, the body field (and other fields) still disappears after enabling the OG module (even on edit forms)... I'll look into this a little more to see where the problem lies.

[Edit: Results of my further testing: After I disabled the Organic groups field access module, content appeared correctly again... I think I'll open up a new issue for that. Nevermind - already-open issue: #973562: Make sure entity is a group or group content before checking field access]

amitaibu’s picture

> After I disabled the Organic groups field access module

Make sure you have permissions to see the field in /admin/config/group/permissions (unless you are using 1, in this case, there is a bug).

amitaibu’s picture

Sorry, didn't see other issue - we'll discuss it there.

dgastudio’s picture

patch from #12 applied.

problem persists:

After activate OG:

Notice: Undefined index: label in entity_metadata_token_info_alter() (line 55 of /home/u3220/domains/u3220.rapid.vps-private.net/sites/all/modules/entity/entity_metadata/entity_metadata.tokens.inc).
Notice: Undefined index: label in entity_metadata_token_info_alter() (line 60 of /home/u3220/domains/u3220.rapid.vps-private.net/sites/all/modules/entity/entity_metadata/entity_metadata.tokens.inc).

i found that it happens too then i'm trying to upload any image (file).

amitaibu’s picture

@kervi,
Are you running latest entity API?

geerlingguy’s picture

@kervi - You might want to try blowing out your entire og directory, and copying in the latest GitHub code. Also, make sure you download the latest -dev release of Entity API, as there were some file moves and changes in the past week or two.

spacereactor’s picture

i still have the error, install entity 7.x-1.x-dev (2011-Jan-05), Drupal 7.0 and OG 7.x-1.x-dev (2011-Jan-06 )

* Notice: Undefined index: label in entity_token_token_info_alter() (line 55 of /var/www/mydomainname/public_html/sites/all/modules/entity/entity_token.tokens.inc).
* Notice: Undefined index: label in entity_token_token_info_alter() (line 60 of /var/www/mydomainname/public_html/sites/all/modules/entity/entity_token.tokens.inc).

zuzu83’s picture

+1 same probleme

radoeka’s picture

+1 same problem

Just drushed a new installation with D7 and OG

Christian Fischer’s picture

Version: 7.x-1.x-dev » 7.x-1.0

+ 1 on 7 final and OG groups latest

amitaibu’s picture

Status: Reviewed & tested by the community » Active

I don't see the error, so someone will have to debug it

radoeka’s picture

FileSize
116.74 KB

@Amitaibu: are you running D7 in English or in another language? Perhaps it has to do with a language setting?

I created the attached stack back trace. It is a bit huge, as I don't how to make a smaller one. Hopefully it contains all the information that is needed to debug the problem.

I used the debug explanation at: http://www.lullabot.com/articles/quick-and-dirty-debugging
This tip in the comments of the before mentioned article:
http://www.lullabot.com/articles/quick-and-dirty-debugging#comment-3567 works for me as well. However, someone with D7 development experience should have a look at the output.

@geerlingguy can you explain how to use / add debug() so others can chime in create debug output?

Anonymous’s picture

+1 subscribe
OG 7.x-1.0, Entity 7.x-1.0-beta6

radoeka’s picture

Using Running debug() on line 55's $properties, like this:

--- sites/all/modules/entity/entity_token.tokens.inc.org        2011-01-09 21:00:35.000000000 +0100
+++ sites/all/modules/entity/entity_token.tokens.inc    2011-01-09 21:22:55.000000000 +0100
@@ -51,6 +51,10 @@
       $name = str_replace('_', '-', $name);

       if (!isset($info['tokens'][$token_type][$name]) && (!isset($property['type']) || in_array($property['type'], $valid_types))) {
+if (!isset($property['label'])) {
+ debug($name);
+ debug($property);
+}
         $info['tokens'][$token_type][$name] = array(
           'name' => $property['label'],
           'type' => isset($property['type']) ? array_search($property['type'], $valid_types) : 'text',

Results in the following output:

# Debug:

'group-audience'

in entity_token_token_info_alter() (regel 55 van /srv/www/htdocs/sites/all/modules/entity/entity_token.tokens.inc).
# Debug:

array (
  'getter callback' => 'entity_metadata_field_verbatim_get',
  'setter callback' => 'entity_metadata_field_verbatim_set',
  'property info' => 
  array (
    'gid' => 
    array (
      'type' => 'integer',
      'label' => 'The group this group content is associated with',
    ),
    'state' => 
    array (
      'type' => 'text',
      'label' => 'Group content state',
      'options list' => 'og_group_content_states',
    ),
    'created' => 
    array (
      'type' => 'integer',
      'label' => 'Created timestamp',
    ),
  ),
)

in entity_token_token_info_alter() (regel 56 van /srv/www/htdocs/sites/all/modules/entity/entity_token.tokens.inc).
# Debug:

'group-audience'

in entity_token_token_info_alter() (regel 55 van /srv/www/htdocs/sites/all/modules/entity/entity_token.tokens.inc).
# Debug:

array (
  'getter callback' => 'entity_metadata_field_verbatim_get',
  'setter callback' => 'entity_metadata_field_verbatim_set',
  'property info' => 
  array (
    'gid' => 
    array (
      'type' => 'integer',
      'label' => 'The group this group content is associated with',
    ),
    'state' => 
    array (
      'type' => 'text',
      'label' => 'Group content state',
      'options list' => 'og_group_content_states',
    ),
    'created' => 
    array (
      'type' => 'integer',
      'label' => 'Created timestamp',
    ),
  ),
)

in entity_token_token_info_alter() (regel 56 van /srv/www/htdocs/sites/all/modules/entity/entity_token.tokens.inc).

Hopefully this shines some light on the issue.

radoeka’s picture

I added debug($token_type); to obtain more output.

Thus the debugging lines are now:

# diff  sites/all/modules/entity/entity_token.tokens.inc.org sites/all/modules/entity/entity_token.tokens.inc
53a54,58
> if (!isset($property['label'])) {
>  debug($name);
>  debug($token_type);
>  debug($property);
> }

This results in:

# Debug:
'group-audience'

# Debug:
'node'

The array is printed

and:

# Debug:
'group-audience'

# Debug:
'user'

I hope that this helps.

spacereactor’s picture

#23 to Amitaibu
you need the following 3 modules (OG, Entity API, Token) install in order to get the error whenever there change in modules.
Enable the following
1.) Organic groups (Only need the main OG, the rest can dis-enable)
2.) Entity API
3.) Entity tokens
4.) Token

Notice: Undefined index: label in entity_token_token_info_alter() (line 55 of /var/www/mydomain/public_html/sites/all/modules/entity/entity_token.tokens.inc).
Notice: Undefined index: label in entity_token_token_info_alter() (line 60 of /var/www/mydomain/public_html/sites/all/modules/entity/entity_token.tokens.inc).

Test on Drupal 7.0, OG 7.x-1.x-dev, Entity API 7.x-1.x-dev, Token 7.x-1.x-dev

radoeka’s picture

Changed the debugging part to:

--- sites/all/modules/entity/entity_token.tokens.inc.org        2011-01-09 21:00:35.000000000 +0100
+++ sites/all/modules/entity/entity_token.tokens.inc    2011-01-10 12:35:44.000000000 +0100
@@ -51,6 +51,19 @@
       $name = str_replace('_', '-', $name);

       if (!isset($info['tokens'][$token_type][$name]) && (!isset($property['type']) || in_array($property['type'], $valid_types))) {
+if (!isset($property['label'])) {
+ debug("=============================");
+ debug($name);
+ debug($token_type);
+ debug($property);
+ debug("=============================");
+} else {
+ debug("+++++++++++++++++++++++++++++");
+ debug($name);
+ debug($token_type);
+ debug($property);
+ debug("^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^");
+}
         $info['tokens'][$token_type][$name] = array(
           'name' => $property['label'],
           'type' => isset($property['type']) ? array_search($property['type'], $valid_types) : 'text',

The entries with no problem looks as follows:

# Debug:

'subject'

in entity_token_token_info_alter() (regel 62 van /srv/www/htdocs/sites/all/modules/entity/entity_token.tokens.inc).
# Debug:

'comment'

in entity_token_token_info_alter() (regel 63 van /srv/www/htdocs/sites/all/modules/entity/entity_token.tokens.inc).
# Debug:

array (
  'label' => 'Onderwerp',
  'description' => 'The subject of the comment.',
  'setter callback' => 'entity_property_verbatim_set',
  'setter permission' => 'administer comments',
  'sanitize' => 'filter_xss',
  'required' => true,
)

Compared to the 2 entries with a problem:

# Debug:

'group-audience'

in entity_token_token_info_alter() (regel 56 van /srv/www/htdocs/sites/all/modules/entity/entity_token.tokens.inc).
# Debug:

'node'

in entity_token_token_info_alter() (regel 57 van /srv/www/htdocs/sites/all/modules/entity/entity_token.tokens.inc).
# Debug:

array (
  'getter callback' => 'entity_metadata_field_verbatim_get',
  'setter callback' => 'entity_metadata_field_verbatim_set',
  'property info' =>
  array (
    'gid' =>
    ....array continues....

One can now clearly see, where label is missing. The following change takes care that the errors are no longer seen:

--- sites/all/modules/og/og.field.inc.org       2011-01-09 21:53:51.000000000 +0100
+++ sites/all/modules/og/og.field.inc   2011-01-10 12:43:13.000000000 +0100
@@ -53,6 +53,8 @@

   // Define a data structure so it's possible to deal with Group
   // audience field.
+  $property['label'] = 'This is a test label';
+  $property['description'] = 'This is a test description';
   $property['getter callback'] = 'entity_metadata_field_verbatim_get';
   $property['setter callback'] = 'entity_metadata_field_verbatim_set';
   $property['property info'] = array(
@@ -829,4 +831,5 @@
     $matches[$label . " [gid:$gid]"] = '<div class="group-autocomplete">' . $label . '</div>';
   }
   drupal_json_output($matches);
-}
\ Geen regeleindeteken (LF) aan einde van bestand
+}
+

I hope that this helps to get the issue solved.

spacereactor’s picture

from #29 i add the two extra line to og.field.inc
$property['label'] = 'This is a test label';
$property['description'] = 'This is a test description';

it does help to temporary solve the error message, hope to see a long term solution.

amitaibu’s picture

Status: Active » Reviewed & tested by the community

@radoeka,
Good job, next time it would be even better if you could roll a patch. Committed to github -- https://github.com/amitaibu/og/commit/8f8e108da85c592e08f44bcc97e884738a...

radoeka’s picture

Amitaibu: I don't understand your remark "next time it would be even better if you could roll a patch"; as the patch is in command #29, isn't it? You should be able to copy and paste the last block in comment #29 into a file and the patch is there. Hmm, perhaps you wanted me to attach it as a patch. In this case I did not attach it as a patch as I was not sure about the proposed solution. Besides that the label and description are not correctly set.

bryancasler’s picture

Version: 7.x-1.0 » 7.x-1.x-dev

Patch in #29 worked for me on the current dev. I tried it a first with og 7.x-1.0, but I still was getting the error.

thekevinday’s picture

Status: Reviewed & tested by the community » Needs review

I also see this problem.
The location where this happens for me is in:
function og_field_group_property_callback(&$info, $entity_type, $field, $instance, $field_type)

From what I understand, #29 is the code to apply?

If that is the case, then why put in placeholder labels and descriptions?

Other modules such as the entity metadata project use the following:

      'label' => $instance['label'],
      'description' => t('Field %name', array('%name' => $name)),

Which would suggest that one might be able to pass real information from the instance and not the placeholder information

Is it correct in this case to use:

<?php
  $property['label'] = $instance['label'];
  $property['description'] = t('Field %name', array('%name' => $name));
?>

instead of:

<?php
  $property['label'] = 'This is a test label';
  $property['description'] = 'This is a test description';
?>

?

bluesomewhere’s picture

#29 worked for me, TY!

LEternity’s picture

thekevinday, can you provide a patch file please?

amitaibu’s picture

The fix is already in the github version.

Liliplanet’s picture

sorry, patch in #29 did not work for me .. subscribe thx

enjoy777’s picture

I used code from #34 and it works now.

Anonymous’s picture

I too just used code from #34 and it works now.

uberhacker’s picture

Simple instructions to fix this issue:

Add the following above line 56 in og.field.inc:

  $property['label'] = $instance['label'];
  $property['description'] = t('Field %name', array('%name' => $name));

If the module maintainer could kindly add these lines to the next release then problem solved.

amitaibu’s picture

Status: Needs review » Reviewed & tested by the community
amitaibu’s picture

Status: Reviewed & tested by the community » Fixed

Committed to Drupal.org

Status: Fixed » Closed (fixed)

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

AndrzejG’s picture

Sorry,
There is nothing in the github, and #41 is not sufficient for solving problem.

Where is the solution now?

Jean Gionet’s picture

Status: Closed (fixed) » Active

I've tried applying this fix and I still get the errors.

Notice: Undefined index: label in entity_token_token_info_alter() (line 54 of S:\apache\webs\staging\htdocs\sites\all\modules\entity\entity_token.tokens.inc).
Notice: Undefined index: label in entity_token_token_info_alter() (line 59 of S:\apache\webs\staging\htdocs\sites\all\modules\entity\entity_token.tokens.inc).
Jean Gionet’s picture

Status: Active » Closed (fixed)

sorry.. seems I was using an older version from January.. closed it back and will try the latest dev version

webankit’s picture

the notices return in latest dev

yugongtian’s picture

+1 batter see the 7.x-1.1
a few month ago...
do not use dev version.....
og7.x-1.0
entity7.x-1.0-beta8
Notice: Undefined index: label in entity_token_token_info_alter() (line 54 of E:\wamp\www\drupal\sites\all\modules\entity\entity_token.tokens.inc).
Notice: Undefined index: label in entity_token_token_info_alter() (line 59 of E:\wamp\www\drupal\sites\all\modules\entity\entity_token.tokens.inc).
when I try to update from 1.0 to dev ,, get error
PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'test11.og_membership_type' doesn't exist: SELECT base.id AS id, base.name AS name, base.description AS description, base.status AS status, base.module AS module FROM {og_membership_type} base; Array ( ) in EntityAPIController->query() (line 153 of E:\wamp\www\test11\sites\all\modules\entity\includes\entity.controller.inc).
And site get down off.............
How to fix it ? any help thanks.

hypatia7777’s picture

Subscribe

dotist’s picture

subscribe

MattClark’s picture

Subscribe

jlaurin’s picture

Subscribe

sirspacey’s picture

Status: Closed (fixed) » Active

Subscribe

amitaibu’s picture

Status: Active » Fixed
sirspacey’s picture

Status: Fixed » Active

Can you provide more clarification of how this is fixed?

I am still getting the error, both in the stable and dev versions. From what I can see by all the subscribes above, others are also still having the problem as well.

AndrzejG’s picture

Problem may arise from the general error in core of D7 - database mechanism doesn't work. So if OG changes some DB structures, it can make some problems.

kpastore’s picture

Subscribe

Tasty’s picture

Subscribe

JamFar’s picture

This is still a problem. +1 Subscribing!

JamFar’s picture

What is the fix? It is an ugly error.

JamFar’s picture

Shows up on the variable config page.

JamFar’s picture

Also shows up, upon saving the following page on your site:

node#overlay=admin/config/people/accounts

amitaibu’s picture

@ JamFar,
Are you using the latest RC3 or -dev version?

JamFar’s picture

Amitaibu, thanks for your reply! ...I am using the latest stable (7.x-1.0 tar.gz (100.61 KB) | zip (132.81 KB) 2011-Jan-05) version. I had tried to install the dev, but that threw quite a few errors of it's own.

JamFar’s picture

I am also finding that I cannot submit content on a normal Basic Page. The body does not get submitted and when I try to go back in to edit, the body is not even visible to edit.

The path is something like:

mypage/#overlay=node/4/edit

Also, I am getting the same errors on the top of the page (inside the edit), when I go into edit:

Notice: Undefined index: label in entity_token_token_info_alter() (line 54 of /home/myuser/public_html/sites/all/modules/entity/entity_token.tokens.inc).
Notice: Undefined index: label in entity_token_token_info_alter() (line 59 of /home/myuser/public_html/sites/all/modules/entity/entity_token.tokens.inc).

amitaibu’s picture

Status: Active » Fixed

@JamFar ,

We'll this is already solved in -dev version, so re-reporting on 7.0 won't help in this case ;)

> tried to install the dev, but that threw quite a few errors of it's own.

Then you should check in the issue queue for the solution, it's probably there.

JamFar’s picture

Status: Fixed » Active

Amitaibu, you were correct. ...I will continue to explore the site, but here is what I did. I kept the installation I had, as is, but I did an "update" to the og module. This fixed the issue at hand (in this thread). Then I ran the migrate og module and then uninstalled the migrate og module. Now no errors at all. Again, I will continue to explore.

I am wondering if by installing the 1.0 and then the dev, there are no problems as experienced before with the og dev. I have done several clean installs, to try to get the right install. Installing the og last was definitely needed. And it appears doing an upgrade to dev worked out best.

JamFar’s picture

Status: Active » Fixed

...oops

balagan’s picture

Installing og-7.x-1.x-dev.tar.gz solved this problem for me. I am also using the dev version of Entity API, which in itself did not solve the problem.

Status: Fixed » Closed (fixed)

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

mikkovedru’s picture

I can confirm that installing 7.x-1.x-dev (instead of 7.x-1.0) solved this problem for me as well.

grasmash’s picture

Version: 7.x-1.x-dev » 7.x-2.x-dev
Status: Closed (fixed) » Active

This problem seems to exist on the 7.x-2.x branch. I'm receiving this exact error with the latest 7.x-2.x-dev version. Do you happen to know how this was fixed on the 7.x-1.x branch?

radoeka’s picture

See last part of the comment #29 (starting with "The following change takes care that the errors are no longer seen:"
http://drupal.org/node/995834#comment-3926500

and this one: http://drupal.org/node/995834#comment-4126438

Hope this helps.

  • b49e471 committed on 8.x-1.x
    #995834 reported by gandhi: Fixed Undefined index: label in...
  • amitaibu committed 3a668dd on 8.x-1.x
    Sync with github: a47bede Test prepopulating the audience field widget...
  • 8f8e108 committed on 8.x-1.x
    #995834 by radoeka and Amitaibu: Fixed Undefined index: label in...