The message appears when the module is enabled (Tested with core 7.16).
After putting some tracing, the problem happen in the token_replace function in token.inc on calling
str_replace($tokens, $values, $text).

Example:
$text =[user:url]
$tokens = Array ( [0] => [user:url] )

When the module is NOT enabled:
$values = Array ([0] => http://localhost/wsc/en/user/5414 )

When the module is enabled:
$values = Array ([0] => Array
(
[0] => http://localhost/wsc/en/user/5414
[1] => http://localhost/wsc/en/user/5414
)
)

Comments

jpstrikesback’s picture

Priority: Normal » Critical

This actually breaks all tokens anywhere with a URL it would appear

inventlogic’s picture

If I enable this module with the Token Filter module it breaks Token Filter with this error.

dave reid’s picture

Status: Active » Fixed

I think I discovered this bug and have fixed it with http://drupalcode.org/project/token_formatters.git/commit/ae6fc17. Testing the most recent release or dev version would be great to confirm.

Status: Fixed » Closed (fixed)

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