Skip to:
Content

BuddyPress.org

Opened 9 years ago

Closed 7 years ago

Last modified 7 years ago

#6960 closed defect (bug) (wontfix)

index-action-admin Groups Custom Template from hierarchy.

Reported by: egyptimhotep's profile egyptimhotep Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Templates 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
9 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
9 years ago

  • Component changed from API to Appearance - Template Parts
  • Keywords needs-patch added
  • Milestone changed from Awaiting Review to 2.6

@hnla Fancy looking into this one?

#3 @hnla
9 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
9 years ago

  • Milestone changed from 2.6 to Future Release

#5 @DJPaul
8 years ago

  • Component changed from Appearance - Template Parts to Templates

#6 @DJPaul
7 years ago

  • Milestone Future Release deleted
  • Resolution set to wontfix
  • Status changed from new to 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
7 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.