Closed (outdated)
Project:
Rate
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Sep 2011 at 23:48 UTC
Updated:
18 Sep 2025 at 13:26 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
dgastudio commentedsame here
Comment #2
mauritsl commentedI cannot reproduce this in the latest dev version.
Feel free to reopen ticket if you still get this message.
Comment #3
Aldus commentedI have the same problem (I just intsalled the module)
a print_r on $results gives this:
Array ( [count] => 1 [rating] => 1 [user_vote] => 1 [empty] => )
Comment #4
pradyumnahpt commentedSame Problem here to,I am getting these notices,with the latest development version too...Any solution please.
Comment #5
fruitsalad commentedHello got the same problem with thumb up/ thumb down. percentages are not displayed. just "You voted 'up'"
Notice: Undefined index: up_percent in include() (line 11 von -/sites/all/modules/rate/templates/thumbs-up-down/thumbs-up-down.tpl.php).
Notice: Undefined index: down_percent in include() (line 15 von -/sites/all/modules/rate/templates/thumbs-up-down/thumbs-up-down.tpl.php).
version used: rate-7.x-1.x-dev.zip
thank you all for help
Comment #6
Anonymous (not verified) commentedIt's a simple check for variable existence. If you haven't rated a comment with thumbs up/down yet and have E_NOTICE error_logging, it'll show the warning. Patch is attached.
Comment #7
quotesbro commentedComment #8
ivnishDrupal 7 is EOL. Issue will be closed, but patches are still here