Suddenly I'm getting:
Notice: Undefined property: stdClass::$nid in rate_views_widget() (line 846 [...]/sites/all/modules/rate/rate.module).
Notice: Undefined property: stdClass::$nid in rate_views_widget() (line 846 [...]/sites/all/modules/rate/rate.module).
Notice: Undefined property: stdClass::$nid in rate_views_widget() (line 846 [...]/sites/all/modules/rate/rate.module).
Notice: Undefined property: stdClass::$nid in rate_views_widget() (line 846 [...]/sites/all/modules/rate/rate.module).
Notice: Undefined property: stdClass::$nid in rate_views_widget() (line 846 [...]/sites/all/modules/rate/rate.module).
(20 times in total)
It was working just fine... Haven't made any big changes.
I'm om MAMP, OSX.
Comments
Comment #1
baroneIm having the same issue here! The odd thing is mine just appeared out of nowhere, no new modules... no changes anywhere... The message started to show after adding some votes in nodes for testing... Anyone??
My error is: Notice: Undefined property: stdClass::$nid em rate_views_widget() (linha 851 de /var/www/mordida/sites/all/modules/rate/rate.module).
Shows 4 times in a page where i have only 2 nodes being listed...
Comment #2
Sk1Zy commentedGetting the exact same error, trying to display the rate widget manually in my comments.tpl file using the code from the manual. Checked the name is correctly written.
Comment #3
crytekker commentedSame identical issue. Have anyone solve it?
Comment #4
gaëlgWorkaround: add a field from the node table in the view (nid, title,...). Of course you can exclude it from display.
Comment #4.0
gaëlgEDIT
Comment #5
ivnishDrupal 7 is EOL. Issue will be closed