• Hello,

    I’m using the “profile” action (template profile-form.php) to enable the user to update their information. However, when “Update profile” is pressed, the URL changes to “?instance=1&updated=true” and the screen shows what appears to be the action for login instead, even though I’m not using TML default_action=”login” anywhere.

    What can I do to prevent this from happening? Thanks.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter amandau

    (@amandau)

    I get the same issue if I call the template using the function instead:

    <?php theme_my_login( array( 'default_action' => 'profile' ) ); ?>

    • This reply was modified 7 years, 7 months ago by amandau.
    Thread Starter amandau

    (@amandau)

    Is there any way to force a redirection or refresh of the page after “Update profile” is pressed? Any help or suggestions would be appreciated.

    Thread Starter amandau

    (@amandau)

    Could anyone assist with this at all?

    Hi Amanda:

    I’m just a simple user like you and need to untangle a similar issue of my own. Unfortunately, I don’t have a solution for you, but I see that you’ve submitted several posts and haven’t received ANY replies, much less, any solutions.

    I know how lonely it can feel when there isn’t so much as an echo, so I wanted to let you know you’re not alone.

    Miguel

    Thread Starter amandau

    (@amandau)

    Thanks Miguel,

    You would think that more people would have the same issues! It’s strange how often you run in to “unique” problems that no one has an answer for ?? Strength to us!

    Plugin Author Jeff Farthing

    (@jfarthing84)

    Are you using the Profile page that the plugin created?

    Thread Starter amandau

    (@amandau)

    I’m using a customised version of profile-form.php that I’ve put in my theme. I’ve called the function in one of WooCommerce’s “myaccount” page templates.

    I’ve set the page “Your Profile” as a draft, as I didn’t know what it did. Does this need to be published for the login form not to appear?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Shows ‘default_action=”login”‘ when profile is updated’ is closed to new replies.