Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
It had been working previously (dev version datestamp = "1316607632"), but the latest dev version (datestamp = "1358947581") seems to have broken this functionality.
Comment | File | Size | Author |
---|---|---|---|
#3 | plus1-fix_undo-1927056-3.patch | 1.16 KB | Volx |
Comments
Comment #1
Jody LynnConfirmed this issue. Rolling back to the stable release fixes it.
Comment #2
rogical CreditAttribution: rogical commentedOkay, set to major
Comment #3
Volx CreditAttribution: Volx commentedI am having the same issue and also the widget is rendered incorrectly when a vote has been casted by a logged-in user. Those issues happen to be caused by the same problem, that is the call to votingapi_select_votes($criteria) returning no votes, because there is a $criteria['vote_source'] basically set to NULL, probably because of the drupal_alter('plus1_source', $criteria['vote_source']) call above. Setting the $criteria['vote_source'] explicitly to the correct value fixes both issues.
Comment #4
eusonic CreditAttribution: eusonic commentedPatch #3 works for me.
Comment #4.0
eusonic CreditAttribution: eusonic commentedFixed typo
Comment #5
rogical CreditAttribution: rogical commentedcommitted.