Voting starts in March for the Drupal Association Board election.
It seems that the text type is not set but the token is set. I am not sure why.
the line is
$type = $info['types'][$type]['name'];
the "text" type is not created
This is a bug in whatever module provides the 'text' token type or tokens then, likely Entity API?
Drupal is a registered trademark of Dries Buytaert.