Opened 8 weeks ago
Last modified 8 weeks ago
#8436 new defect (bug)
Error from bp-groups-template.php on line 602
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | 7.1.0 |
Component: | Groups | Keywords: | reporter-feedback |
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 (1)
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 ?