Problems after update from 1.5.7 to 1.6
-
First, I got a problem with Buddypress groups document plugin and here is what it shows in error_log file:
`[06-Aug-2012 15:25:39 UTC] PHP Fatal error: Call to undefined function bp_is_group_admin_screen() in /home/starco/public_html/wp-content/plugins/buddypress-group-documents/include/group-admin.php on line 31`.and how the function was used
`//only continue of we’re viewing Group Docs Settings
if( bp_is_group_admin_screen($bp->group_documents->slug)) {if ( !$bp->is_item_admin )
return false;// If the edit form has been submitted, save the edited details
bp_group_documents_group_admin_save();//add a hook to show the options
add_action(‘groups_custom_edit_steps’,’bp_group_documents_group_admin_edit’);if ( (‘1.1’ == substr(BP_VERSION,0,3)) && (” != locate_template( array( ‘groups/single/admin.php’ ), false )) ) {
bp_core_load_template( apply_filters( ‘groups_template_group_admin_settings’, ‘groups/single/admin’ ) );
} elseif ( ” != locate_template( array( ‘groups/single/home.php’ ), false ) ) {
bp_core_load_template( apply_filters( ‘groups_template_group_home’, ‘groups/single/home’ ) );
} else {
bp_core_load_template( apply_filters( ‘groups_template_group_admin_settings’, ‘groups/single/admin’ ) );
}
}`.any alternative for this?
Than I disabled the plugin to avoid this bug so I got a blank page, I founded that frisco theme was damaged because the parent theme was not found !!
- The topic ‘Problems after update from 1.5.7 to 1.6’ is closed to new replies.