• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Errors on certain pages

#1
I have recieved this error when looking at certain pages on my site.

any idea?


Code:
Template Errors: dark_postrating_message_user_info
Division by zero in /var/www/vhosts/politicalbuddies.com/httpdocs/library/XenForo/Template/Abstract.php(265) : eval()'d code, line 68:
67: {
68: $__compilerVar2 .= '<div class="dark_postrating_bar_positive" title="' . XenForo_Template_Helper_Core::numberFormat($postrating_ratings_total['positive'], '0') . '" style="width:' . ($postrating_ratings_total['positive'] / $postrating_ratings_total['all'] * 100) . '%"></div>';
69: }
 
Division by zero in /var/www/vhosts/politicalbuddies.com/httpdocs/library/XenForo/Template/Abstract.php(265) : eval()'d code, line 72:
71: {
72: $__compilerVar2 .= '<div class="dark_postrating_bar_neutral" title="' . XenForo_Template_Helper_Core::numberFormat($postrating_ratings_total['neutral'], '0') . '" style="width:' . ($postrating_ratings_total['neutral'] / $postrating_ratings_total['all'] * 100) . '%"></div>';
73: }