Fatal error: Using $this when not in object context (bp-groups-classes.php)
-
My buddypress site was working fine. I left town for a couple of days and returned to:
Fatal error: Using $this when not in object context in /imedia/users/mavericks/htdocs/wp-content/plugins/buddypress/bp-groups/bp-groups-classes.php on line 1053
Here’s a snippet of the offending code:
function delete_all_for_user( $user_id ) {
global $wpdb, $bp;// Get all the group ids for the current user’s groups and update counts
$group_ids = $this->get_group_ids( $user_id ); <
line 1053
…The bb groups DB tables all checked out OK
wp_bp_groups
wp_bp_groups_groupmeta
wp_bp_groups_membersI need suggestions on how to debug this. Thanks.
- The topic ‘Fatal error: Using $this when not in object context (bp-groups-classes.php)’ is closed to new replies.