#8436 closed defect (bug) (worksforme)
Error from bp-groups-template.php on line 602
Reported by: | alexhal | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 7.1.0 |
Component: | Groups | Keywords: | |
Cc: |
Description
Hi we are getting
Warning: Creating default object from empty value in /home/demoswplms/public_html/wp-content/plugins/buddypress/bp-groups/bp-groups-template.php on line 602
error on group page , we are using shortcodes on group page to show groups information like group avatar, group title etc .
We are not overwriting global $bp var or global $groups_template var but still the issue is appearing
Change History (3)
#1
@
4 years ago
- Component changed from Core to Groups
- Keywords reporter-feedback added
- Priority changed from high to normal
Note: See
TracTickets for help on using
tickets.
Hi,
I don’t see anything unusual in the source code. If you are using the
bp_get_group_id()
function outside of a group loop without passing a group object, then you can get an error, are you sure the shortcode is properly using this function ?