Hi there,
I got this error message warning: Division by zero in /home/inge/public_html/beta/sites/all/modules/webform-fivestar/fivestar.inc on line 211.
I chose stars as display.
| Comment | File | Size | Author |
|---|---|---|---|
| error-webform-fivestar.png | 502.95 KB | danielhonrade |
Comments
Comment #1
carinadigital commentedJust for clarification, the stars display option is used on table view and individual submission view. It won't appear on the analysis page.
Food Main course2 shows the issue. If we have one submission, and that submission is a zero rated submission, then we get a division by zero error.
Comment #2
danielhonrade commentedYeah, got that, but please make a conditional statement not to do that, division by zero,
and how do you set this up not to appear on the analysis? seems automatic, BTW, great job!
Comment #3
carinadigital commentedJust committed fix into the dev version and publishing the dev snapshots for the 6.x version.
The analysis screen is non-optional at the moment. I can see how it's become overloaded.
I'll spin it off into a feature request. What would recommend as options? None, basic and full analysis?
Comment #4
carinadigital commentedComment #5
danielhonrade commentedHi, nice... well, put as many options that will do for everyone, thanks!
Comment #6
danielhonrade commentedComment #7
carinadigital commentedPutting this back to 'reviewed and tested' . Once the fix has been reviewed I need it to remain open to test the fix it in the next beta. The bug is still present in the current version 6.x-1.0-beta1 so I want anyone looking at the bugs list to see this.
Comment #8
carinadigital commentedComment #9
carinadigital commented