Project

General

Profile

Actions

Bug #21708

closed

Reclaim Testing: 404 on "Account Settings > Edit Profile" page

Added by Raymond Hoh 2 months ago. Updated about 2 months ago.

Status:
Resolved
Priority name:
Normal
Assignee:
Category name:
BuddyPress (misc)
Target version:
Start date:
2025-01-07
Due date:
% Done:

0%

Estimated time:
Deployment actions:

Description

While going through some Reclaim testing, I've found that the "Account Settings > Edit Profile" page located at -- /members/me/profile/edit/group/1/ -- is throwing a 404. BuddyPress settings look correct and I tried refreshing the "Settings > Permalinks" page, but this didn't fix things.

I also wanted to see if Extended Profiles were working in the WP admin dashboard and there is a somewhat, related error. To replicate, go to the "WP Admin > Users > Your Profile > Extended Profile" page, there is a fatal error under the "College" profile field:

Fatal error: Uncaught Error: __clone method called on non-object
in /wp-content/plugins/bp-custom.php on line 2572

Call stack:

cac_college_field_children()
wp-includes/class-wp-hook.php:324
WP_Hook::apply_filters()
wp-includes/plugin.php:205
apply_filters()
wp-content/plugins/buddypress/bp-xprofile/classes/class-bp-xprofile-field.php:637
BP_XProfile_Field::get_children()
wp-content/plugins/buddypress/bp-xprofile/classes/class-bp-xprofile-field-type-checkbox.php:106
BP_XProfile_Field_Type_Checkbox::edit_field_options_html()
wp-content/plugins/buddypress/bp-xprofile/bp-xprofile-template.php:857
bp_get_the_profile_field_options()
wp-content/plugins/buddypress/bp-xprofile/bp-xprofile-template.php:809
bp_the_profile_field_options()
wp-content/plugins/buddypress/bp-xprofile/classes/class-bp-xprofile-field-type-checkbox.php:84
BP_XProfile_Field_Type_Checkbox::edit_field_html()
wp-content/plugins/buddypress/bp-xprofile/classes/class-bp-xprofile-user-admin.php:313
BP_XProfile_User_Admin::user_admin_profile_metaboxes()
wp-admin/includes/template.php:1456
do_meta_boxes()
wp-content/plugins/buddypress/bp-members/classes/class-bp-members-admin.php:1250
BP_Members_Admin::user_admin()
wp-includes/class-wp-hook.php:324

Boone, hopefully that is enough to debug the issue.

Actions

Also available in: Atom PDF