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

Refineo’s picture

I 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

wheresjbob’s picture

Component: Code » Views Integration

I'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.

socialnicheguru’s picture

my original token issues were seen on the status report page

Refineo’s picture

Please 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."

wheresjbob’s picture

I'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

Sil68’s picture

From my experience I can confirm that this issue is not limited to the Voting API only. I'm 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']
$info['tokens']['payment']['line_item-payment_ubercart']
$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']

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.

jaydub’s picture

Status: Active » Closed (duplicate)

This 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.

Jooblay.net’s picture

We 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...