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.
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
Comment #1
MGParisi CreditAttribution: MGParisi commentedFlipper 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.
Comment #2
brycesenz CreditAttribution: brycesenz commentedFor reference, the latest stable release does not produce the error, so it's -dev specific.
Comment #3
MGParisi CreditAttribution: MGParisi commentedReverting 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.
Comment #4
brycesenz CreditAttribution: brycesenz commentedOk, 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.
Comment #5
ericduran CreditAttribution: ericduran commentedYes, 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.
Comment #6
whiteph CreditAttribution: whiteph commentedPlease 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.
Comment #7
dbt102 CreditAttribution: dbt102 at BACnet Interest Group - Drupal for BACnet Interest Group - Drupal commentedWill 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.
Comment #8
dbt102 CreditAttribution: dbt102 at BACnet Interest Group - Drupal for BACnet Interest Group - Drupal commented