Hi disha76,
Thanks for the report. When I activate BuddyPress Cover on a fresh install, I get multiple debug notices that relate to that plugin:
Notice: Use of undefined constant BP_COVER_PICS_SLUG - assumed 'BP_COVER_PICS_SLUG' in /wp-content/plugins/bp-cover/bp-cover.php on line 29
Notice: Undefined variable: user_id in /wp-content/plugins/bp-cover/bp-cover.php on line 132
Notice: Undefined variable: filter in /wp-content/plugins/bp-cover/bp-cover.php on line 144
You can see these yourself by going to your wp-config.php file and setting WP_DEBUG
to true
. Make sure you don’t do this on a production site because your users will also see the debug notices.
It’s possible that these are the reason why the mute button isn’t working as expected for you.
Hi Henry Wright
Much thanks. So the problem is with BP-cover, right?
If you have any quick-fix just crossing your mind please do suggest.
You should let the author of BP Cover know about the debug notices and hopefully they will be able to release a fix.
Hi Henry Wright
Thanks so much. I have already done that https://wordpress.org/support/topic/bp-cover-deactivates-mute-toggle?replies=1#post-6811281
In the meanwhile I was wondering what code (JS, CSS, php whatever) is buttons like “Follow” are using. The toggle function of “Follow” and other buttons in the Profile are working okay despite the “buggy” BP-cover. If that can be implemented in Mute also, Mute button will be unaffected. If anyone has any idea, do say it out. Thanks.
I think it might have something to do with the AJAX response.
When you click the button, can you let me know exactly what happens? a) Does the button text change to ‘Unmute’? b) Does the user you just muted appear under the list of muted users example.com/members/username/mute
?