Skip to:

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

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

Error when deleting account

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


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 15 years ago.
Remove call to kill_tables_for_user

Download all attachments as: .zip

Change History (6)

#1 @apeatling
15 years ago

  • Milestone set to 1.0.4

#2 @johnjamesjacoby
15 years ago

  • Keywords has-patch added; error kill_tables_for_user delete account removed 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.

15 years ago

Remove call to kill_tables_for_user

#3 @DJPaul
15 years ago

  • Owner set to johnjamesjacoby
  • Status changed from new to assigned

#4 @DJPaul
15 years ago

  • Resolution set to invalid
  • Status changed from assigned to closed

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

#5 @apeatling
15 years ago

  • Milestone changed from 1.0.4 to 1.1

Milestone 1.0.4 deleted

Note: See TracTickets for help on using tickets.