Profile Edit Link Doesn’t Resolve Correctly
I’ve inherited a development project that is using WordPress 3.7 along with BuddyPress 1.5. The intent being to upgrade both to current RC’s.
There is a lot of customized code dealing with xprofile fields and member search functions, with most being achieved by way of template overload in a child theme based on bp default. There are also modifications to the BP 1.5 core files that I am in the process of migrating over to BP 2.3.4. Due to relative unfamiliarity with BuddyPress, not exactly sure where that will lead. Realistically, about 50% of that code base has been migrated over without breaking the BP 2.3.4 install.
Backtracking a bit, it is my intent to update WordPress to 4.3.2 with the current BP 1.5. I have actually updated WordPress and corrected the BP slugs that were changed with the update. All except for the BP members slug which resolves correctly to …/profile/edit/group/1 but returns a 404 “page can’t be displayed error.”
I have found a few threads that deal with this issue but none of the proposed solutions seem to resolve. Some deal with plugin type conflicts and others deal with updating BuddyPress (which is not a viable option at the moment).
My bp-xprofile-screens.php includes some validations and can be viewed on pastebin…
I have the site migrated onto a development box at http://18.104.22.168/. For those savvy enough to provide some insight, temporary login credentials from DropBox at https://www.dropbox.com/sh/wt1wxd32duosb0j/AADSDSI81VOxUg89L_bqHddZa?dl=0.
It should be noted that if I do upgrade BuddyPress to 2.3.4 (both plugins are installed on the site), I am able to edit the profile at …/profile/edit/group/1, but that’s defeating my purpose as all the code has yet to be migrated (if that is even possible to achieve). And there are still display issues with my search form using BP 2.3.4.
I guess the relevant question is why would the “bp_core_redirect( bp_displayed_user_domain() . $bp->profile->slug . ‘/edit/group/1’ );” statement work with WordPress 3.7 and not with 4.3.2? What am I missing? Is something being overwritten in the database upgrade?
I’m hoping that someone more intimate than I am with BP can provide some additional insight.
- The topic ‘Profile Edit Link Doesn’t Resolve Correctly’ is closed to new replies.