Installation of the token module generated the following warnings:
* Notice: Undefined index: name in token_asort_tokens() (line 175 of mobilesoftwaredev.com/sites/all/modules/token/token.module).
* Notice: Undefined index: name in token_asort_tokens() (line 175 of mobilesoftwaredev.com/sites/all/modules/token/token.module).
* Notice: Undefined index: name in token_asort_tokens() (line 175 of mobilesoftwaredev.com/sites/all/modules/token/token.module).
* Notice: Undefined index: name in token_asort_tokens() (line 175 of mobilesoftwaredev.com/sites/all/modules/token/token.module).
* Notice: Undefined index: name in token_asort_tokens() (line 175 of mobilesoftwaredev.com/sites/all/modules/token/token.module).
* Notice: Undefined index: name in token_asort_tokens() (line 175 of mobilesoftwaredev.com/sites/all/modules/token/token.module).
* Notice: Undefined index: name in token_asort_tokens() (line 175 of mobilesoftwaredev.com/sites/all/modules/token/token.module).
* Notice: Undefined index: name in token_asort_tokens() (line 175 of mobilesoftwaredev.com/sites/all/modules/token/token.module).
* Notice: Undefined index: name in token_asort_tokens() (line 175 of mobilesoftwaredev.com/sites/all/modules/token/token.module).
* Warning: uasort(): Array was modified by the user comparison function in token_get_info() (line 153 of mobilesoftwaredev.com/sites/all/modules/token/token.module).
* Notice: Undefined index: name in _token_token_tree_format_row() (line 159 of mobilesoftwaredev.com/sites/all/modules/token/token.pages.inc).
* Notice: Undefined index: description in _token_token_tree_format_row() (line 161 of mobilesoftwaredev.com/sites/all/modules/token/token.pages.inc).
I am using Drupal 7.0-alpha7.
Comments
Comment #1
Dave ReidThat likely means you have some kind of broken tokens from another contrib module. If you're using the entity module, make sure to upgrade to the latest dev release of entity.module.
Comment #2
billsdesk CreditAttribution: billsdesk commentedNot using the entity module. Trying to isolate the faulty module is going to take a bit of work.
Comment #3
juves CreditAttribution: juves commentedI'm having the same problem
Comment #4
achtonNot certain that this is related, but certainly a similar notice from Token:
Using latest -dev of Token and D7 beta3. Also using -dev versions of all enabled modules.
How can I help debug this?
Comment #5
Eolmornedhel CreditAttribution: Eolmornedhel commentedI have found that after enabling the LoginToboggan module I get all the errors mentioned in the OP plus those mentioned in #4. If I then refresh the modules page only the errors in #4 re-occur.
After disabling LoginToboggan and refreshing the modules page the errors disappear.
I have created an issue here : http://drupal.org/node/980626
Comment #6
Eolmornedhel CreditAttribution: Eolmornedhel commentedUpdating to the latest dev release of LoginToboggan solved the errors for me.
Comment #7
achtonI can confirm that upgrading LoginToboggan fixes these errors.
Comment #8
Dave ReidMarking as fixed then!
Comment #10
Anonymous (not verified) CreditAttribution: Anonymous commentedI was seeing these similar errors, unrelated to Logintoboggan (I dont have it installed).
They were related to FileFIeld Paths module not correctly implementing the token.module.
Comment #11
krueschi CreditAttribution: krueschi commentedI can confirm this issue to be related with the filefield path module.
Even the message at my site reads
Notice: Undefined index: name in _token_token_tree_format_row() (Zeile 108 von /../sites/all/modules/token/token.pages.inc).
(and not "line 107" instead), this behaviour disappears when filefield path (and pathauto) are disabled.
Comment #12
dreadlocks1221 CreditAttribution: dreadlocks1221 commentedI can confirm I have the same problem on 2 sites I am working on
Comment #13
dreadlocks1221 CreditAttribution: dreadlocks1221 commentedcould be solved with this patch, but appears it hasnt been comitted yet:
http://drupal.org/node/1015460
Comment #14
Dave ReidThat case there is nothing to fix here, so I'm not sure why you changed the status of an issue in Token module...
Comment #16
mgiffordIf you got here via google for a D7 issue, look here:
#1712336: Notice: Array to string conversion in token_asort_tokens