Closed (outdated)
Project:
Submitted By
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Issue tags:
Reporter:
Created:
12 Oct 2010 at 09:54 UTC
Updated:
2 Mar 2017 at 19:08 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
dave reidCheck your admin/reports/status page to see if you get a warning about more than one module defining the [comment-since] token. If so, please report back here what it says.
Comment #2
yngens commentedThere were yesterday, but after I updated couple of modules, they disappeared. Right now there are no errors on status page. However, [comment-since] is still displayed as Array. I tried to change it to any other time-date related token and they all work correctly. Only this one gives error.
Comment #3
alohaglide commentedHave a similar problem with [node-url] returning "Array".
A workaround of [site-url][node-path] works.
running token 6.x-1.15
Comment #4
alohaglide commentedAh, node-url tokens being defined by multiple modules.
Comment #5
yngens commentedNot sure if my new issue has something with the previous one, but after activating comment uploads and trying to upload a picture I got:
Comment #6
yngens commentedHave found this unanswered thread #933374: Warnings when using Stringoverride
Comment #7
jthomasbailey commentedGoing back to 6.x-1.1.4 fixes it but I can't figure out what's causing it in the newest release
Comment #8
dave reidComment #9
ju.ri commentedI also get this message on the status page:
Duplicate tokens
* node:node-url (defined by modules: token, notifications_content)
There is a patch in the Notifications.module issue cue here:
http://drupal.org/node/845250
Comment #10
fizk commentedI just ran into this issue of [comment-since] token producing the word "Array".
The status page doesn't show any duplicate tokens.
However, if I disable the [comment-since] token replace in the submitted_by module, the problem goes away.
Comment #11
dave reidYep, submitted_by is the problem. It doesn't show up as a problem in the status report as the module defines it's token_list wrongly and doesn't return any token information if $type == 'all'. Grr.
Comment #12
dave reidComment #13
dave reidComment #14
dave reidAdding token tag.
Comment #15
dave reidComment #16
ckngThe $values should be $tokens instead.
Need some documentation on the
- corresponding token version to use
- list of tokens removed/replaced
Replaced:
[created-since] -> [since]
Removed:
[last-edit-medium]
[last-edit-large]
[last-edit-hh]
[last-edit-ii]
[last-edit-ss]
Comment #17
ayesh commentedSub
Comment #18
pawel_r commentedchange pointed out in#16 worked for me.
Comment #19
nancydru6.x-1.x is no longer supported.