Support » Plugin: CubePoints Buddypress Integration » Don't work in WP3.5

  • 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

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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

    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

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Don't work in WP3.5’ is closed to new replies.