Comment to 'Redirect to 'Profile' page after log in/sign in '
  • Sorry, but it needs to track what's wrong, both functions should return the correct current profile id.

    • Sorry, but it needs to track what's wrong, both functions should return the correct current profile id.

      both functions getLoggedId() and bx_get_logged_profile_id() work fine in other areas of the code. it sounds that the problem is with the permalink /unpermalink functions. Have you been able to reproduce this error?
      - where do you want me to track this? the error and access log files have nothing. 

      • Then try this variant:

        header('Location: ' . BX_DOL_URL_ROOT . BxDolPermalinks::getInstance()->permalink('page.php?i=view-persons-profile', array('id' => bx_get_logged_profile_id())));