# Unable to create user in Discourse from WP with new registration form

**URL:** <https://meta.discourse.org/t/unable-to-create-user-in-discourse-from-wp-with-new-registration-form/233700>\
**Category:** WordPress\
**Created:** [July 22, 2022, 9:36pm UTC](https://meta.discourse.org/t/unable-to-create-user-in-discourse-from-wp-with-new-registration-form/233700 "2022-07-22T21:36:27Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![angus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/angus/32/341715_2.png) [@angus](https://meta.discourse.org/u/angus)\
**Post date:** [July 28, 2022, 3:50pm UTC](https://meta.discourse.org/t/unable-to-create-user-in-discourse-from-wp-with-new-registration-form/233700/9 "2022-07-28T15:50:24Z")

</div>

With the default settings users are created in Discourse the first time the user logs into Discourse using [DiscourseConnect](https://meta.discourse.org/t/13045?silent=true). Until that moment no user exists in Discourse.

The [WP Discourse](https://github.com/discourse/wp-discourse) plugin also has a setting “Create or Sync Discourse Users on Login” which, when enabled, will create a user via the Discourse API after the user registers in Wordpress. This setting uses the wp action `wp_login`, so your user registration process has to trigger that action for this feature to work.

---

_[View the full topic](https://meta.discourse.org/t/unable-to-create-user-in-discourse-from-wp-with-new-registration-form/233700)._
