• I have the following message as a warning on top of my theme.
    “Warning: Division by zero in /ssd/home/opsbg/public_html/cafe/wp-content/plugins/cubepoints-buddypress-integration/includes/bp-cubepoint-templatetags.php on line 58

    Warning: Division by zero in /ssd/home/opsbg/public_html/cafe/wp-content/plugins/cubepoints-buddypress-integration/includes/bp-cubepoint-templatetags.php on line 67″
    I just upgraded the final version of the plugin.

    https://www.ads-software.com/extend/plugins/cubepoints-buddypress-integration/

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Tosh

    (@xberserker)

    I’m looking into this. You can go back to Version 1.7.6.2 and you won’t have that issue. Or you can just edit this line:

    $this->pag_per_page = get_option(‘bp_points_logs_per_page_cp_bp’);
    to this instead
    $this->pag_per_page = ‘20′;

    Change 20 to whatever number you set per page in the admin

    Are you using WPMU?

    Plugin Author Tosh

    (@xberserker)

    Forgot to wrap the code so it displays correctly, try this:

    $this->pag_per_page = get_option('bp_points_logs_per_page_cp_bp');
    to this instead
    $this->pag_per_page = '20';

    Try replacing your bp-cubepoint-templatetags.php file with this and see if it fixes it and report back.

    https://pastebin.com/EAmp3s2m

    I have some problem on MU and I’m on newest version. Prior version didn’t do this. Checked template tag file and this is already in there.

    Plugin Author Tosh

    (@xberserker)

    I see maybe I’ll just have a check box or something if the user is WPMU.

    Did you try replacing your bp-cubepoint-templatetags.php file with this?

    https://pastebin.com/EAmp3s2m

    Plugin Author Tosh

    (@xberserker)

    Please download version 1.7.6.4

    worked. Sorry for delay wp was linked to an old email.

    Hi!
    I’ve just installed 1.7.6.4 on a brand new installation and I’m getting the same error, this time lines 59 and 68.

    Any idea what might be wrong?

    Thanks in advance!
    Ricardo

    Plugin Author Tosh

    (@xberserker)

    Upgrade to 1.7.6.5

    Please “Network Deactivate” and just “Activate” instead of “Network Activate”. Then activate the plugin on the blogs you need.

    I have a problem with the global settings – not the bp integration settings.

    I change the points allocation, prefix etc, hit update, and just get redirected to dashboard.

    BP integration settings save fine.

    J

    Plugin Author Tosh

    (@xberserker)

    Try posting that in the official cubepoints forum:

    https://cubepoints.com/forums/

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘[Plugin: CubePoints Buddypress Integration] Bug in the last version 1.7.6.3’ is closed to new replies.