Hi,
I was trying to change some patterns, but when I enter the "admin/config/search/path/patterns" site, I get these error messages (see below) and can't change anything. Does anyone know how to fix this?
(I'm using Drupal 7.20, Token 7.x-1.5, Pathauto 7.x-1.2, Transliteration 7.x-3.1, File (Field) Paths 7.x-1.0-beta3)

Notice: Undefined index: name in token_asort_tokens() (Zeile 569 von /var/www/webxx/html/xxx/sites/all/modules/token/token.module).
Notice: Undefined index: name in token_asort_tokens() (Zeile 569 von /var/www/webxx/html/xxx/sites/all/modules/token/token.module).
Warning: uasort() [function.uasort]: Array was modified by the user comparison function in token_get_info() (Zeile 529 von /var/www/webxx/html/xxx/sites/all/modules/token/token.module).
The Pattern for user account page paths is using the following invalid tokens: [user:name].

Comments

rainerdansseg’s picture

Priority: Normal » Major

Still no response...
I found out, that if I go to admin/reports/status there is the following message:

Tokens Problems detected

The following tokens or token types are missing required name and/or description information:

  • $info['tokens']['user']['url']

The following token types are not defined but have tokens:

  • $info['types']['user']
  • $info['types']['current-user']
rainerdansseg’s picture

Status: Active » Closed (fixed)

update drupal to 7.22 fixed it.

Maya2013’s picture

Issue summary: View changes

Sorry, I have to open that Issue again.

I am using Pressflow-Core 7.24 (Druoal Cocomore Distribution) and I am getting following message on my status report:

Warnung
Tokens Problems detected

The following tokens or token types are missing required name and/or description information:

$info['tokens']['user']['url']

The following token types are not defined but have tokens:

$info['types']['current-user']

Suprisingly I use the same Distribution on another webspace of the same provider and the porblem does not occure there.

After clearing the cache I get this message:

Notice: Undefined index: name in token_asort_tokens() (line 569 of /.../sites/all/modules/contrib/token/token.module).

Maya2013’s picture

I replaced the Tokendatafiles but nothing changed. You can find the error on the sourcecode of http://www.bednarzmarketing.de. Here is my statusreport:

Status report
Info
Drupal 7.24
OK
Access to update.php Protected
Warnung
Aktualisierungsstatus des Drupal-Kern No update data available
No update information available. Run cron or check manually.
OK
CTools CSS Cache Exists
OK
Colorbox plugin 1.4.19
OK
Configuration file Protected
OK
Cron maintenance tasks Zuletzt vor 57 min 38 sec ausgeführt
You can run cron manually.
To run cron from outside the site, go to http://www.bednarzmarketing.de/cron.php?cron_key=Ze7NtMK7JnLo0uROrW6ykHa...
OK
Database system MySQL, MariaDB, or equivalent
OK
Database system version 5.5.28-log
OK
Database updates Aktuell
OK
Date API System date settings
The timezone has been set to Europe/Berlin. The first day of the week has been set to Montag. The medium date format type has been set to to Fri, 13/12/2013 - 12:17. You may find it helpful to add new format types like Date, Time, Month, or Year, with appropriate formats, at Date and time settings.
OK
File system Writable (public download method)
OK
GD library PNG support bundled (2.0.34 compatible)
OK
GD library rotate and desaturate effects bundled (2.0.34 compatible)
OK
Metatag Drupal core is compatible
Older versions of Drupal core were missing functionality necessary for taxonomy term pages to work correctly, but this version will work correctly.
OK
Node Access Permissions Deaktiviert
If the site is experiencing problems with permissions to content, you may have to rebuild the permissions cache. Rebuilding will remove all privileges to content and replace them with permissions based on the current modules and settings. Rebuilding may take some time if there is a lot of content or complex permission settings. After rebuilding has completed, content will automatically use the new permissions. Rebuild permissions
OK
PHP 5.4.9 (more information)
OK
PHP extensions Aktiviert
OK
PHP memory limit 100M
OK
PHP register globals Deaktiviert
Warnung
Tokens Problems detected

The following tokens or token types are missing required name and/or description information:

$info['tokens']['user']['url']

The following token types are not defined but have tokens:

$info['types']['current-user']

OK
Unicode library PHP Mbstring Extension
OK
Update notifications Aktiviert
Info
Upload progress Not enabled
Your server is capable of displaying file upload progress, but does not have the required libraries. It is recommended to install the PECL uploadprogress library (preferred) or to install APC.
OK
Web server Apache/2.2.22
OK
XML sitemap Last attempted generation on Mo, 23/09/2013 - 14:18 (2 months 2 weeks ago).
OK
XML sitemap cache directory Writable
OK
jQuery Update jQuery 1.5.2 and jQuery UI 1.8.11

Maya2013’s picture

Status: Closed (fixed) » Active