Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Activities

@hdcms

Participant

Hello @danbp

PHP Warning: Illegal offset type in /home…./wp-content/plugins/buddypress/bp-activity/bp-activity-functions.php on line 734

I found where the error came from:

add_filter( 'bp_after_has_activities_parse_args', 'activites_affiche_infos' );
function activites_affiche_infos( $retval ) {
 //  if ( bp_is_active( 'activity' ) ) {
   $retval['action'] = array(        
    'activity_comment',
    'activity_update',
    //'created_group',
    //'friendship_created',
    'joined_group',
    'last_activity',
    //'new_avatar',
    'new_blog_comment',
    'new_blog_post',
    //'new_member',
    'updated_profile'        
    );
	return $retval;	
//	}
}

I feel that this function does not work anymore with the latest version of buddypress. If I disable it, => all works
I activate it by trying several solutions and nothing else works !!
I tried your code without success either

@ +
An “old” member of your BP site

Skip to toolbar