#6960 closed defect (bug) (wontfix)
index-action-admin Groups Custom Template from hierarchy.
Reported by: | 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)
#2
@
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
@
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.
Note: See
TracTickets for help on using
tickets.
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()