Needs work
Project:
Token
Version:
7.x-1.0-beta7
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
28 Jan 2012 at 14:46 UTC
Updated:
28 Apr 2017 at 18:52 UTC
Jump to comment: Most recent
I got this warning after disabling and uninstalling profile2 (I had created a new profile login page). I reinstalled profile2, but the error message wouldn't go away.
I tried to apply this patch: http://drupal.org/files/issues/1252566-token-bundle-undefined-wtf.patch but to no avail. Any suggestions?
Comments
Comment #1
LIQUID VISUAL commentedThe following warning is repeated four times on my status report page after uninstalling forum, advanced forum, forum access and mini-panels. Not sure how to correct this.
Notice: Undefined index: label in _token_field_info() (line 1293 of /home/example/public_html/sites/all/modules/token/token.tokens.inc).
Comment #2
dave reidSee #1252566: PHP notice: Undefined index in _token_field_info() this should be fixed in the latest release.
Comment #3
jorisx commentedRan into the same problem,
Had to rollback from media module v2 to mediamodule v1 and now back to v2 again, but not sure if that's the problem
Currently with every module install or field creation I get these kind of notices
Notice: Undefined index: media in _token_field_info() (line 1334 xxx/public_html/sites/all/modules/token/token.tokens.inc).
Notice: Undefined index: module in _field_info_prepare_instance_display() (line 354 of xxx/public_html/modules/field/field.info.inc).
Comment #4
Chris CharltonSame scenario for me. Same error.
Notice: Undefined index: media in _token_field_info() (line 1334 of /drupal/sites/all/modules/contrib/token/token.tokens.inc).Comment #5
CrashNet commentedUpdate to add I too receive this error with the latest Security update for Token:
Notice: Undefined index: label in _token_field_info() (line 1323 of /Applications/MAMP/htdocs/cs/sites/all/modules/token/token.tokens.inc).Comment #6
mp commentedstill there, get this message after using tokens in the display suite by adding a new "code field"
Notice: Undefined index: profile2 in addressfield_tokens_tokens() (line 249 of PATH\sites\all\modules\addressfield_tokens\addressfield_tokens.tokens.inc).
Comment #7
Chris CharltonJust in case, I'm going to reopen this ticket. Maintainers feel free to re-close this if necessary.
Is this ticket "closed" because of this comment, where a bad Features design/export would cause this for people? https://www.drupal.org/node/1252566#comment-4930096 ... or is this still a valid issue?