Closed (fixed)
Project:
Token
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Dec 2010 at 17:52 UTC
Updated:
4 Apr 2011 at 18:31 UTC
I am using 'Drupal core 7.x-dev (2010-Dez-07)' and 'Token 7.x-1.x-dev (2010-Dez-03)' together with about ~50 additional optional modules. If I want to change the Pathauto patterns on "/admin/config/search/path/patterns" I get the following error messages:
# Notice: Undefined index: name in _token_token_tree_format_row() (Zeile 109 von /var/www/website.net/sites/all/modules/token/token.pages.inc).
# Notice: Undefined index: description in _token_token_tree_format_row() (Zeile 112 von /var/www/website.net/sites/all/modules/token/token.pages.inc).
Comments
Comment #1
Blooniverse commented... if I don't make use of 'current-date:xxx' in the Pathauto pattern configuration, the error messages disappear.
Concerning these matters I've also launched this bug report: #991646: 'Current-date:xxx' token doesn't work (Pathauto patterns).
Comment #2
dave reidUsually when we see this error it means there is a module that is not using the upgraded token API for Drupal 7 properly.
Comment #3
Blooniverse commented... okay! I am going to sort this out as soon as possible. I will come back with the solution.
Comment #4
dave reidSettings as needs more info in the meantime.
Comment #5
Blooniverse commented... ah, in the meantime other modules have started to complain in a similar manner (system now: 'Drupal core 7.x-dev (2010-Dez-12)', 'Token 7.x-1.x-dev (2010-Dez-14)' and 'Webform 7.x-3.4-beta1':
Unluckily I am not an index expert. Is there anyone who knows what this general index issue could be about (assuming this is a general index issue)?
Comment #6
Blooniverse commentedPlease change meta information accordingly. Thanks!
Comment #7
Blooniverse commented...
Comment #8
droplet commentedyou can switch off "Undefined index" warning. (most of time it don't broken your site operation).
This threads mixed many modules. It's should be post on diff project issue thread.
the #1 isn't CORE modules,
# Notice: Undefined index: name in _token_token_tree_format_row() (Zeile 109 von /var/www/website.net/sites /all/modules/token/token.pages.inc).
Comment #9
Blooniverse commented... it's better to mark this issue as 'fixed', since these
indexerrors occur all the time due to lacking validations respectively wrongly formulated ones (array elements, variables), usually viaisset(). Sorry!