• Resolved jguy098

    (@jguy098)


    Hi, I’ve set up a form using WPforms to create a new wordpress user. When I test the automation the form fails to create a user. When I check the log, I see two entries. The first shows “guest submits reg form”. When I click on that entry, I can see everything appears to look correct. It shows that it pulled the fields I told it to (name, email, password). The other entry in the log is “could not create user”. When I click on that, I see… “Post: no post assigned” and “result: Could not create user, reason: Cannot create a user with an empty login name.”

    Why would the automation not successfully create the user?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Ruben Garcia

    (@rubengc)

    Hi @jguy098

    As the log result says: Could not create user, reason: Cannot create a user with an empty login name.

    The issue here is that you need to setup a login name, or what’s the same, a username

    So, when you are configuring the automation, you need to configure the “Username” field

    In case that could help, there is a video showing how to configure this with Gravity Forms, the process is exactly equal with WP Forms, but changing the trigger part:

    Hope it helps!

    Thread Starter jguy098

    (@jguy098)

    I’ve tried so many times and still can’t get this to work. For my attempts to get it to work prior to writing you, I did have a username field assigned. It was the text field labeled name. I’ve tried many more times since your response and still no luck. I watched the video but it’s nothing new to me. I was doing everything as shown in the video. I’ve mapped the fields, to the best of my knowledge, correctly. No extra spaces. Just added the WP field number. I even tried assigning the email field as the username. The only way I’m able to get it to actually create a subscriber is by adding plain text such as “hello” as the field instead of {9:form_field:1} .

    Thread Starter jguy098

    (@jguy098)

    clarification: just added the WP *forms* field number.

    Plugin Author Ruben Garcia

    (@rubengc)

    Hi @jguy098

    For WP Forms, is required the field name, not the field ID for that the tag appears as:
    {TRIGGER_ID:form_field:FIELD_NAME}

    Also, the unique part you need to modify is the “FIELD_NAME”, you need to leave the first number with the number that AutomatorWP gives you

    Hope it helps!

    Thread Starter jguy098

    (@jguy098)

    Awesome! it works now! Thank you!

    Plugin Author Ruben Garcia

    (@rubengc)

    Nothing! Glad to help you!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘create new user in wordpress failed’ is closed to new replies.