What version of bp? On the root blog or other blogs in wpmu?
I’m using the latest version of Buddypress, downloaded only a few days ago, I’m using my own theme and was playing about with registering the sidebars, I thought perhaps I might have assigned Members to a sidebar I am no longer using but when I reactivate these sidebars which I am no longer using it says there are no widgets registered to them.
Is there a way to reset all the widgets so that none are being used? or any other solution?
It sounds like you still have the widget registered with a phantom side bar. The comments for the function wp_register_sidebar_widget() says that doing the same call without a callback function unregisters the widget.
Try: wp_register_sidebar_widget( ‘buddypress-members’, __( ‘Members’, ‘buddypress’ ), “”);
Or: wp_unregister_sidebar_widget(‘buddypress-members’); which says it does the same thing.
Put that in bp-custom.php. That gets run before anything else in bp. Naturally this is a one time thing.
Hello,
I am having the same problem.
When adding the wp_register_sidebar_widget( ‘buddypress-members’, __( ‘Members’, ‘buddypress’ ), “”); Or: wp_unregister_sidebar_widget(‘buddypress-members’); I get an
Call to undefined function wp_unregister_sidebar_widget() error
bp-custom.php should be under /mu-plugins ?
Thanks for your help
I got it, I changed the following line on the functions.php file of my theme directory
if ( function_exists(‘register_sidebar’) )
register_sidebars(2);
I changed the “2” and just wrote any number (7 in my case) and I was able to see more sidebars. Members widget was somehow in sidebar 4!
I deleted it and thats it!
Hope it helps!
I tried the second option and it worked a treat! thankyou!