Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: BP 2.6.1.1 – Object of class BP_Core_BP_Nav_BackCompat could not be converted to string error

@strothi

Participant

@r-a-y good catch. I had tried before without some of my custom functions regarding the tab order, but maybe I didn’t delete the cache or whatever, now it works. Though now I can’t use my function that I used up to now to reorder the tabs.

This is what is used so far:

function rt_change_profile_tab_order() {
global $bp;
$bp->bp_nav['profile']['position'] = 10;
$bp->bp_nav['activity']['position'] = 20;
}
add_action( 'bp_setup_nav', 'rt_change_profile_tab_order', 999 );

Can you point me to what I need to change to get the same result?

Thanks so much in advance!

Skip to toolbar