Skip to:
Content

BuddyPress.org

Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#810 closed defect (bug) (no action required)

Error when deleting account

Reported by: petronic Owned by: johnjamesjacoby
Priority: critical Milestone: 1.1
Component: Version:
Severity: Keywords: has-patch
Cc:

Description

When user tries to delete account (Settings > Delete Account) following error occurs:

Fatal error: Call to undefined method BP_Activity_Activity::kill_tables_for_user() in wordpress-mu/wp-content/plugins/buddypress/bp-activity.php on line 324

I'm running BP 1.0.2.

Attachments (1)

810-jjj.patch​ (668 bytes ) - added by johnjamesjacoby 17 years ago.
Remove call to kill_tables_for_user

Download all attachments as: .zip

Change History (6)

#1 @apeatling
17 years ago

  • Milestone → 1.0.4

#2 @johnjamesjacoby
17 years ago

  • Keywords has-patch added; error kill_tables_for_user delete account removed

svn.buddypress.org/branches/1.0 looks a lot less far along than the trunk is regarding this.

The trunk uses delete_for_user which will delete all of the activity for the user, but the branch still uses the old multiple user tables.

If the purpose of this function is only to delete the activity for the user (and not do much clean-up regarding the other components) then deleting the kill_tables_for_user call is the quick and simple fix.

kill_tables_for_user used to drop the now deprecated user activity tables. Removing the function call all together will allow the user to be deleted as per normal.

@johnjamesjacoby
17 years ago

Remove call to kill_tables_for_user

#3 @DJPaul
17 years ago

  • Owner set to johnjamesjacoby
  • Status new → assigned

#4 @DJPaul
17 years ago

  • Resolution → invalid
  • Status assigned → closed

This isn't in BP 1.1/trac, so am assuming it was deprecated.

#5 @apeatling
17 years ago

  • Milestone 1.0.4 → 1.1

Milestone 1.0.4 deleted

Note: See TracTickets for help on using tickets.