Are you on WPMU? I just accessed your site:
http://www.umablu.org/members/chaytania/cubepoints/points/
I don’t see any error what version are you on?
No errors because i downgraded to an earlier version (1.7.6.2), but with 1.7.6.4, i recived those errors on all blogs on my site. No errors on main site. Only on blogs. The site is WordPress 3.1 multi, with latest Buddypress.
http://www.umablu.org
Thanks
I get the same errors on all my user blogs after I upgraded to version 1.7.6.4. I have WP 3.0.1 and current BuddyPress. The points worked fine until I upgraded to new points version 1.7.6.4
Warning: Division by zero in /home/………../wp-content/plugins/cubepoints-buddypress-integration/includes/bp-cubepoint-templatetags.php on line 59
Warning: Division by zero in /home/…………/wp-content/plugins/cubepoints-buddypress-integration/includes/bp-cubepoint-templatetags.php on line 68
Both lines are: ‘total’ => ceil( (int) $this->total_point_count / (int)$cp_bp_per_page_wpmufix ),
It does not affect main site. I tried deleting and reinstalling the plugin. I tried resetting settings in admin.
I have the plugin turned off now because I can’t find a suitable solution and the warnings are in the header area of every blog but the main blog.
mm ok. I’ll set up a test site today if I have time. In the meantime you can go back to version 1.7.6.2
@twinfinity @umablu @intimez @dubya1337 @bmtrnavsky
Ok, for those with WP3MU or WPMU I did some testing I didn’t change any code but got the error to go away.
Go to Super Admin > Sites >
Select the secondary install and click “backend”
Then go to the BP Cubepoints settings. It’s probably all blank, it was on mine. Just fill in the value for “How many point logs per page:” and put in a slug and enable what you want to show menu item wise. Worked for me.
Yes you will have to do this for every sub-blog.
I’m not sure why it’s all blank though. Anyone know why?
@xberserker
My BP Cubepoints settings were not blank. It had -25 points for joining a group and 25 points for leaving a group. I changed those and made certain everything else looked correct, and saved changes.
The warnings were still on sub blogs.
However, I removed
/ (int)$cp_bp_per_page_wpmufix
from the two offending lines (59 and 68)
and the warnings are gone and everything works according to my testing.
The per page is set at 20 and there is 20 per page with a pager for pages and it works.
Thanks for a great plugin 
Interesting, I’ll do some testing with those lines commented out and see how it goes.
@thekmen would there be harm in commenting out those lines?
@twinfinity I tried removing those lines and the pagination no longer works. So hardly a solution, unless you don’t care about pagination.