plugin crashes on buddypress create group-page
-
In breadcrumbspress/core/expand/BuddyPress.php, on line 192 this fails:
$item = buddypress()->groups->nav->get( $key );
nav is no (longer?) a property of the groups object. On registering the navigation, the groups-component registers a main_nav array and a sub_nav array. These are properties of the buddypress()->groups object, nav no longer is. So it results in an error ( trying to invoke the get( $key ) method of a null object ). Maybe first check if nav is object before trying to get the key? Or use the main_nav or sub_nav arrays.
For the rest: I like the plugin.
- You must be logged in to reply to this topic.