I'm running WordPress 2.8.4 with the latest WP Reviews 3.0 with Hosting Gone Wild Theme. Site is brand new with just the default post.
I'm getting the following error message:
Warning: Division by zero in /home/onlinew/public_html/wp-content/themes/wprs-hgw/index.php on line 41
Any help is appreciated.
Thanks,
Mike
Me, too, but on line 49, which reads "$average = $sum / count($ratings);"
I'm using Wordpress 2.7.1.
Upgraded to Wordpress 2.8.4, latest WP, and the problem seems to have disappeared.
@Mike, as I e-mailed you, you have to set up your rating categories.
Please elaborate - we see the same 'division' error despite categories being set up. It shows on posts that should not be showing reviews. When clicking into 'rating categories' and applying bulk ratings to one category it doesn't seem to stick. Any docs on this Division error.
You can re-download the Theme Pack to get the updated file in this theme.
The change to index.php replaced the code after "Overall Rating:" with
<?php echo num_to_stars(get_average_rating()); ?>
Sending ...