Skip to:
Content
Pages
Categories
Search
Top
Bottom

Profile pages disappeared after upgrade to 2.2

  • @csipet

    Participant

    It’s pretty simple. I can navigate to mysite.com/members which lists the users, but when I try to load in one of the users profile on the mysite/members/username the site redirects to the front page (the link isn’t pointing to frontend, it happenes in the backend somewhere). No error message in the logs. I already reverted to 2.1.1 and it started to work immediately but when I upgraded again to 2.2 all user profiles became unavailable again.
    I deactivated most of the plugins too, but no luck. (And this was the only plugin I upgraded when this happened.) I’m using custom template files for buddypress so I deactivated them also (as well as the other custom codes in functions.php), tried with the legacy template, same error. Except these profile pages everything else works fine on the page.
    I’m using the latest wordpress, on an nginx lemp stack.

    Please help! 🙁

Viewing 5 replies - 1 through 5 (of 5 total)
  • @csipet

    Participant

    I narrowed it down to a simple question: Why the profile page returns true for the is_page('login') condition from v2.2?

    @hnla

    Participant

    It’s a combination of issues, The main problem lies with WP and has an update to correct is_page() returning true for pages with ID 0 which BP profile pages need to have.

    For the moment to your is_page checks add && ! bp_is_user()

    @r-a-y

    Keymaster

    @csipet

    Participant

    All right, THX guys!

    @hnla

    Participant

    Do as r-a-y says, the fix is committed to WP core so you can – in theory – update the pertinent file with that fix and allow it to be safely overwritten when next version of WP drops, bp_is_user() was the fix I had to employ to correct sites issues before the WP ticket patch was accepted/committed.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Profile pages disappeared after upgrade to 2.2’ is closed to new replies.
Skip to toolbar