I am running Drupal 7.9, the latest version of Voting API, and was running the latest stable release of Fivestar. I just upgraded to the latest -dev version, and it is generating a bunch of new warnings.

On pages that show a node's Fivestar field widget, there are no issues.

On pages that show Fivestar field widgets exposed through Views/Quicktabs, I get the following warnings:

Notice: Undefined index: field_rating in fivestar_field_formatter_view() (line 558 of C:\...\sites\all\modules\fivestar\includes\fivestar.field.inc).

Comments

MGParisi’s picture

Flipper may also be associated with this error. I can not seem to role back to the previous version as this gives me a White Screen error.

brycesenz’s picture

For reference, the latest stable release does not produce the error, so it's -dev specific.

MGParisi’s picture

Reverting back to the "Stable" release sends my site to a white screan with an error message mentioned in another issue. I will try and revert back again, and see if I can keep my site up.

brycesenz’s picture

Priority: Normal » Minor

Ok, so running updates and clearing the cache does nothing to solve this error. However, if I manually go back to each fivestar field and re-save it, it seems to clear up any errors. That holds true even if the field has data already in it, as far as I can tell.

I'm hesitant to mark this as fixed since it still seems like something is perhaps a little broken in the upgrade path from the latest stable release to the -dev release, but it's solved now on my end.

ericduran’s picture

Yes, re-saving the widget does indeed fixes the problem. BUt lets leave it open for now as we can easily provide a default for what ever is throwing the errors.

whiteph’s picture

Issue summary: View changes

Please try 7.x-2.1 version and let me know if the problem still occurs. An awful lot of fixes have been applied since this was opened.

dbt102’s picture

Will mark this as fixed since 7.x-2.2 Full release covered by the Drupal Security Team was made on 2016-Apr-23, and there have been no new comment regarding the issue.

dbt102’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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