WordPress.org

Ready to get started?Download WordPress

Forums

CubePoints Buddypress Integration
Don't work in WP3.5 (3 posts)

  1. Kikobeats
    Member
    Posted 1 year ago #

    I first install CubePoints and later this plugin. The header error is:

    Warning: Creating default object from empty value in C:\xampp\htdocs\zombeats\wp-content\plugins\cubepoints-buddypress-integration\includes\bp-cubepoint-core.php on line 46

    Warning: Creating default object from empty value in C:\xampp\htdocs\zombeats\wp-content\plugins\cubepoints-buddypress-integration\includes\bp-cubepoint-core.php on line 103

    And the points in the profile dont view correct.

    :-(

    http://wordpress.org/extend/plugins/cubepoints-buddypress-integration/

    I Have bbPress and BuddyPress 2.2.3

  2. jeremyBass
    Member
    Posted 1 year ago #

    so i had the same issue.. oddly I'm surprised you didn't have more of those.. I had a whole bunch of them show up as I upgraded from php 5.3.3 to 5.4.11 .. so the fix

    if (!is_object($bp->cubepoint)) {
    $bp->cubepoint = new stdClass;
    }
    note this clears Warning: Creating default object from empty value in ..../bp-cubepoint-core.php on line 46 .. you'll have to look to see what is needed for line 103 as i didn't get that Warning.

    add that in and you clear the warning.
    Hope that helps. Cheers -Jeremy

  3. jeremyBass
    Member
    Posted 1 year ago #

    ok take that back.. i did run in to the other error.. i had to add

    if (!is_object($bp)) {
    		$bp = new stdClass;
    	}
    	if (!is_object($bp->cubepoint)) {
    		$bp->cubepoint = new stdClass;
    	}

    to clear it
    Cheers -Jeremy

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.