Support » Plugin: Theme My Login » ERROR: Please Enter a Nickname

  • Resolved ScottieDFLH

    (@scottiedflh)



    Hello, I have version 6.4.3 of Theme My Login with WP version 4.4.1. I’m pretty sure the issue I have is due to the latest WP upgrade, but didn’t know about it until one of my users informed me.

    When someone tries to make ANY changes to their profile, they get the following error:

    ERROR: Please Enter A Nickname

    Here is the URL:

    Your Profile

    I don’t have a nickname field when setting up a profile for the first time, and have attempted to look through the code in WP Editor and don’t see any references to it. Help please!

    https://wordpress.org/plugins/theme-my-login/

Viewing 11 replies - 16 through 26 (of 26 total)
  • Plugin Author Jeff Farthing

    (@jfarthing84)

    Just be warned that a sneaky user could easily populate the hidden field with something else, if that matters for something as trivial as a nickname.

    Hi,

    I have started my website recently and I am facing the same error. Whenever my customers try to update there account, it states “error enter a nickname”. I entered above 2 coding but it did not work.
    I wish to know if there is any other way to fix it.

    Plugin Author Jeff Farthing

    (@jfarthing84)

    Do you have a nickname field?

    Thanks for your response sir.

    In frontend there is no nickname field. Hence the end user do not have an option to enter nickname.

    In backend, on editing user profile I found that there is a nickname field which has username name on it.

    Plugin Author Jeff Farthing

    (@jfarthing84)

    Have you read this thread? The answers are above…

    I’m new to this. Any chance you could tell me where to put the above code? I tried it on the profile-form.php and it didn’t work.

    Thanks much!

    max

    (@maximledoux)

    @onealbs if you put it in profile-form.php and it didn’t work, that suggests to me that profile-form.php is not in the correct directory.

    What is the correct directory?

    max

    (@maximledoux)

    the root of your child theme. ie. wp-content/themes/child-theme/profile-form.php

    Test by typing “HELLO!!” somewhere in profile-form.php (not inside any <?php ?>). If you see it in the front end profile edit page, you have the file in the correct directory. If you have the file in the correct directory and you’re still getting the no nickname error, then you didn’t add the code correctly.

    I test as you suggested and it is in the correct place, but when I insert this code:

    <input type="hidden" name="nickname" id="nickname" value="<?php echo esc_attr( $profileuser->user_name ); ?>" class="regular-text" />

    it still asks for a Nickname.

    max

    (@maximledoux)

    ah… whoops. try $profileuser->user_login. Sorry.

Viewing 11 replies - 16 through 26 (of 26 total)
  • The topic ‘ERROR: Please Enter a Nickname’ is closed to new replies.