#810 closed defect (bug) (no action required)
Error when deleting account
Reported by: | petronic | Owned by: | johnjamesjacoby |
---|---|---|---|
Milestone: | 1.1 | Priority: | critical |
Severity: | Version: | ||
Component: | 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)
Change History (6)
Note: See
TracTickets for help on using
tickets.
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.