I figured it out. Turns out i have this function in bp_custom.php to stop the creation of certain activity types.
//Block certain activity types from being added
function bp_activity_dont_save( $activity_object ) {
$exclude = array(
'updated_profile',
'new_member',
'friendship_created',
'joined_group',
'activity_comment'
);
Turns out the last ‘activity_comment’ screwed up the whole commenting feature, when I thought it would just stop the creation of that activity type.
cwedel
@cwedel
8 years, 8 months ago
Hello, I’m in the process of building a social network (thanks buddypress!!) and I’m literally just about to launch it, but all of a sudden now I’m having issues with replying to activity feed updates. Actually, it seems that it replies fine because I get a notification email of the reply, however, when I view the activity update, there are no comments. Also, when submitting the comment, the comment doesn’t post – it just comes up with the error: ‘There was an error posting your reply. Please try again.’
I have tried deactivating every plugin I have installed – no change. I’ve tried deactivating all plugins, and reverting to TwentySixteen theme – no change. I have even uninstalled BuddyPress completely, and then re-installed it – still getting the error.
The weirdest part about it is that is was working just fine just a couple weeks go when I last tested the commenting. Since then, I’ve continued to build the website, add features, style, etc. and now all of a sudden the commenting stopped working.
I’m very frustrated because I’ve spent so much time building this website, to be ready to launch it, and now one of the most key components to a social network – the commenting – is not working.
Thank you for your help!
http://ojaihealingnetwork.com/
Wordpress:4.4.2
Buddypress: 2.5.1
Theme: Child Theme of DynamiX