If you're using flags with tokens in the label, for example Like ([flag-name-count]), there are times when the front-end messes up the display.
Expected frontend display: Like (12)
Actual display: Like ([flag-name-count])
This brokeness seem related to caching. Because when I flush the Drupal caches, the problem is gone. At least for a while, as it returns intermittently, especially when all Drupal caches are turned on.
I can't explain this, and there's no error messages.
Comments
Comment #1
Anonymous (not verified) commentedDoes anybody else have this problem?
Comment #2
quicksketchSame problem here: #1234874: Tokens in flags texts breaks often when Drupal caches enabled. I've already responded to that issue (sorry I saw it first). If you could post any additional information over there that would be helpful in tracking down this problem.
Comment #3
vankod commentedIn my case the problem arose from the module realname.
Solution:
In the file realname.module in function realname_user_update add the line realname_update($account);
Voila!