After updating from 2.x-dev (2011-Jun-29) to 2.0 alpha the attached error appears.
The current dev (2.x-dev (2012-Jan-12)) version dose as well not work.

To solve this issue I have added a default case at the switch statement:

  default:
    $default_value = $element['#values']['average'];

(code is added a line 637)
But I think this is only a workaround ....
Files: 
CommentFileSizeAuthor
Error_after_update.png32.23 KBzauberertz

Comments

The above workaround worked for me. This major bug breaks functionality. It would be great to see a release to address this.

Status:Active» Fixed

Thanks this is now fixed. FYI, you should not update from dev -> alpha, dev is always the latest code.

You should update from stable release to stable releases.

--
http://drupalcode.org/project/fivestar.git/commit/d11e857

Status:Fixed» Closed (fixed)

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

Issue summary:View changes

From Version changed