Closed (duplicate)
Project:
Voting API
Version:
7.x-2.x-dev
Component:
Views Integration
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Jan 2012 at 23:36 UTC
Updated:
11 Sep 2012 at 21:00 UTC
The following tokens or token types are missing required name and description information:
$info['tokens']['vote_results']['count-vote-cache-id']
$info['tokens']['vote_results']['count-function']
$info['tokens']['vote_results']['average-vote-cache-id']
$info['tokens']['vote_results']['average-function']
$info['tokens']['vote_results']['sum-vote-cache-id']
$info['tokens']['vote_results']['sum-function']
Comments
Comment #1
Refineo commentedI can confirm the same issue in Voting API 7.x-2.4.
Where can I find the most recent Voting API dev version to test this ?
This kind of issues is related to the Voting API compatibility with the Token module .
Similar issue: #1265848: tokens or token types are missing required name and description information
Comment #2
wheresjbob commentedI'm seeing problems with Token throughout Drupal 7. Are you sure this is just a Voting API issue? This is disturbing because in some cases the problem doesn't appear (like in Views) until you make a change to a view that has Tokens in it.
Comment #3
socialnicheguru commentedmy original token issues were seen on the status report page
Comment #4
Refineo commentedPlease see #1265848: tokens or token types are missing required name and description information comment #21
"If you are getting this notice for other types, you will need to file an issue with the modules that provides the offending tokens."
Comment #5
wheresjbob commentedI've had the choices disappear from one of my blocks. I created a view of fields for the current poll. Worked fine, then suddenly the choices no longer appear in the view. The original field seemed to be "Content: Webform form body", but that doesn't work anymore.
How do you create a View of fields for a Poll in Drupal 7 that includes the choices? I don't see a Token for that.
I see the choices when I use Teaser and Full, but I can't use those.
Thanks!
John
Comment #6
Sil68 commentedFrom my experience I can confirm that this issue is not limited to the Voting API only. I'm receiving
on my box running MacOS X 10.7.4, Apache 2.2.22, MySQL 5.1.62, PHP 5.3.12, Drupal 7.14 and Voting API 7.x-2.6.
Comment #7
jaydub commentedThis is not an issue that comes from VotingAPI module. It looks like these tokens are defined in the Voting Rules module. See #1268394: Missing Tokens Issue for discussion and patch.
Comment #8
Jooblay.net commentedWe are receiving:
Tokens Problems detected
The following tokens or token types are missing required name and/or description information:
$info['tokens']['payment']['line_item-payment_all']
This above statement is posted under tokens on our status page?
This appears in our site log:
Notice: Undefined index: description in _token_token_tree_format_row() (line 171 of /home/name/public_html/example.com/sites/all/modules/token/token.pages.inc).
We are conducting more tests now...