Backend Admin Menu Problems in 3.1.x, 1.2.8
In two different BuddyPress installations, I’m having two different, but seemingly related problems with the backend Network Admin menu:
1. This installation was done under WordPress 3.1 and BuddyPress 1.2.8 a couple of weeks ago, and has since been upgraded to WordPress 3.1.1. The BuddyPress menu does not show up in the backend Network Admin though It must have at some point because I enabled the components that I wanted. Except for this problem, the BuddyPress installation seems to be behaving normally. In fact, if I manually enter the URLs that would be showing up under the admin menu, I can go to the settings for general, components, etc. In addition to having to keep those bookmarked, it also means I have a lot of difficultly with adding plugins that should be showing up under that menu. I have even tried reinstalling BuddyPress from scratch, deleting the tables and all the plugins, but that made no difference in terms of the menu showing up for a new install, and I do not currently have any additional plugins installed out side of BuddyPress.
2. This installation was done under WordPress 3.0 and whatever the then current version of BuddyPress was. The BuddyPress menu shows up in the backend Network Admin, but the admin menu for BP Group Management does not. I’ve checked to make sure what few plugins I’m running have the correct actions to be showing up under than network_admin_menu. The BP Groups Admin has been updated and would normally show up under BP Album+, but doesn’t show up even when it’s the only additional BuddyPress plugin enabled.
In both cases, I’m running WordPress Multisite using subfolders with a different blog defined as the BuddyPress root blog in the preferences…
define ( ‘BP_ROOT_BLOG’, 2 );
I’ve been beating my head against the wall on this for a few days and just can’t find a pattern or solution. I’m pretty sure it would be something simple, but if a reinstall doesn’t solve the problem I’m totally out of my league.
I should also point out that I get a few notices in debug mode, which might be normal, and that cron jobs don’t appear to be firing on this site:
`Notice: Undefined property: stdClass::$displayed_user in /websites/democrats/www.example.site/wp-content/plugins/buddypress/bp-core.php on line 1070
Notice: Trying to get property of non-object in /websites/democrats/www.example.site/wp-content/plugins/buddypress/bp-core.php on line 1070
Notice: Undefined property: stdClass::$profile in /websites/democrats/www.example.site/wp-content/plugins/buddypress/bp-xprofile/bp-xprofile-classes.php on line 816
Notice: Constant BP_XPROFILE_BASE_GROUP_NAME already defined in /websites/democrats/www.example.site/wp-content/plugins/buddypress/bp-xprofile.php on line 101
Notice: Constant BP_XPROFILE_FULLNAME_FIELD_NAME already defined in /websites/democrats/www.example.site/wp-content/plugins/buddypress/bp-xprofile.php on line 102
Notice: Undefined property: stdClass::$current_group in /websites/democrats/www.example.site/wp-content/plugins/buddypress/bp-groups.php on line 223
Notice: Trying to get property of non-object in /websites/democrats/www.example.site/wp-content/plugins/buddypress/bp-groups.php on line 223
Notice: Undefined variable: count_indicator in /websites/democrats/www.example.site/wp-content/plugins/buddypress/bp-messages.php on line 115`
You’ll need to turn off debug mode; buddypress prints lots of those at the minute and probably breaks itself. I’m not sure why the menu isn’t appearing.
I only turned on debug mode to try and identify the problem.
I’ve solved the problem with site no. 2. Turns out I’m completely stupid and willing to admit it in public.
I have wanted to limit my BuddyPress activity to the BP_ROOT_BLOG. As such, I’ve been enabling plugins that require BuddyPress only to that one site rather than in Network Admin. Once I disabled them there and enabled them in Network Admin, it seems to be working as expected.
Still haven’t figured out the problem with site no. 1, but I’m working on it.
- The topic ‘Backend Admin Menu Problems in 3.1.x, 1.2.8’ is closed to new replies.