Skip to:
Content

BuddyPress.org

Opened 11 years ago

Closed 9 years ago

Last modified 9 years ago

#6960 closed defect (bug) (wontfix)

index-action-admin Groups Custom Template from hierarchy.

Reported by: egyptimhotep Owned by:
Priority: normal Milestone:
Component: Templates Version:
Severity: normal Keywords: needs-patch
Cc:

Description

for Groups, this template hierarchy file works but with some notices:

NOTICE: wp-content/plugins/buddypress/bp-groups/bp-groups-template.php:2610 - Trying to get property of non-object
    require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/underscore/buddypress/groups/single/index-action-admin.php'), bp_group_admin_tabs
    
NOTICE: wp-content/plugins/buddypress/bp-groups/bp-groups-template.php:775 - Trying to get property of non-object
    require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/underscore/buddypress/groups/single/index-action-admin.php'), bp_group_admin_form_action, bp_get_group_admin_form_action, bp_get_group_permalink

NOTICE: wp-content/plugins/buddypress/bp-groups/bp-groups-template.php:448 - Trying to get property of non-object
    require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/underscore/buddypress/groups/single/index-action-admin.php'), bp_group_name, bp_get_group_name

NOTICE: wp-content/plugins/buddypress/bp-groups/bp-groups-template.php:938 - Trying to get property of non-object
    require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/underscore/buddypress/groups/single/index-action-admin.php'), bp_group_description_editable, bp_get_group_description_editable

NOTICE: wp-content/plugins/buddypress/bp-groups/bp-groups-template.php:335 - Trying to get property of non-object
    require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/underscore/buddypress/groups/single/index-action-admin.php'), bp_group_id, bp_get_group_id

after submitting some details, like description you have another notece on page ​http://local.wordpress.dev/groups/admin/edit-details/

NOTICE: wp-content/plugins/buddypress/bp-groups/bp-groups-screens.php:869 - Trying to get property of non-object
require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), do_action('template_redirect'), call_user_func_array, bp_template_redirect, do_action('bp_template_redirect'), call_user_func_array, bp_screens, do_action('bp_screens'), call_user_func_array, groups_screen_group_admin_edit_details

Change History (7)

#1 @egyptimhotep
11 years ago

Same thing for theme Twenty Fifteen theme

Into theme create /buddypress/groups/single/index-action-admin.php copy content from /buddypress/groups/single/admin.php with get_header() and get_footer()

#2 @DJPaul
11 years ago

  • Component API → Appearance - Template Parts
  • Keywords needs-patch added
  • Milestone Awaiting Review → 2.6

@hnla Fancy looking into this one?

#3 @hnla
11 years ago

I can have a look, not sure this is specifically theme related though? Guess if it's only an issue with Groups it should be possible to spot an obvious deviation from other template hierarchical implementations.

#4 @DJPaul
10 years ago

  • Milestone 2.6 → Future Release

#5 @DJPaul
10 years ago

  • Component Appearance - Template Parts → Templates

#6 @DJPaul
9 years ago

  • Milestone Future Release
  • Resolution → wontfix
  • Status new → closed

Closing most tickets related to BP-Default and BP-Legacy, since the upcoming BP-Nouveau template pack (planned for 3.0) will make these redundant.

#7 @DJPaul
9 years ago

Closing most tickets related to BP-Default and BP-Legacy, since the upcoming BP-Nouveau template pack (planned for 3.0) will make these redundant.

Note: See TracTickets for help on using tickets.