Buddypress getting error while posting activities for some users.
I have installed Buddypress in my site and it is displaying some awkward error “There was a problem posting your update. Please try again.” for some error while updating the activities.
I have multiple users in my site and only some of the users are getting this error while posting the activities(not all users).
I have debugged it and found that $activity_id = bp_activity_post_update( array( ‘content’ => $_POST[‘content’] ) ) is returning empty for some error.
While debugging the bp_activity_post_update function what I have found is ‘user_id’,’content’, ‘primary_link’, ‘component’, ‘type’ all the fields have values still bp_activity_add() function is returning the activity id as 0.
I am getting no idea why this is happening. Please help me.
- You must be logged in to reply to this topic.