Showing such notice.
Notice: Undefined index: widget in _fivestar_get_widget() (line 618 of sites/all/modules/fivestar/includes/fivestar.field.inc).
Notice: Undefined index: widget in _fivestar_get_widget() (line 628 of sites/all/modules/fivestar/includes/fivestar.field.inc).

Now try to create a patch


ericduran’s picture

Just re-save your field settings, this is probably from having the previous field settings declared.

pmusaraj’s picture

I tried re-saving the field settings in both the view and the node, with no luck.

jpfeifer’s picture

I've got the same error - In my view I'm using html list under format settings which doesn't allow me to alter the fields. It seems to work well as is so am just looking to remove the error.

jpfeifer’s picture

Update: notice that I get this error consistently and always when I set the value on the field to anything other than stars, in my case on the teasers for fivestar I want it to be set at percentage.

I get the widget error everywhere I show a teaser node after changing this setting.

iliketrees’s picture

I had the same issue - it was working perfectly until I changed the format for the content type to rating (i.e., 4.2/5). I'm using 10 stars and displaying it as 8/10

Commenting out line 618 in fivestar.field.inc (and the closing bracket on line 632) got rid of the error

ericduran’s picture

Status: Active » Fixed

This is now fixed in the latest version dev version.


Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.