Answers.Body: <p>The behavior changed slightly since 5.29.  CiviCRM now uses the account creation in WP where a password is not set and a link is set to the new user.   This is the preferred way to do account registration in WP.</p>
  <p>I do see in testing this that your profile now must have an email field.  If the profile does not have an email field account creation won't work. Can you add an email field to the profile you are using?  That should solve your issue.</p>
  <p>We'll need to document and potentially put up a change in CiviCRM to enable a primary email field if a profile does not have one and account creation is required.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-09-07T11:41:05.377Z
Answers.LastActivityDate: 2021-09-07T11:41:05.377Z
Answers.UserDisplayName: Kevin Cristiano
Body: <p>I have just updated an existing site to on a staging domain on the same server.</p>
  <p>Old version: WP: 5.7 CIVI 5.29</p>
  <p>New version: WP: 5.8 CIVI 5.39</p>
  <p>On the old site a user can register via a profile in a page using a shortcode.</p>
  <p>In the new version the registration form exists BUT there is no Username / Password fields.</p>
  <p>The profile settings has &quot;Account creation required&quot; checked.</p>
  <p>Anyone can register in WP settings is checked.</p>
  <p>I have deactivated other plugins and changed the theme - but this doesn't affect the issue.</p>
  <p>I am loading the staging site in a clean browser - so I am NOT logged in.</p>
  
Tags: <wordpress><registration><username><passwords>
Title: CiviCrm - Users cannot register after update to Wordpress / Civicrm
ThreadText: # CiviCrm - Users cannot register after update to Wordpress / Civicrm
  
  (Asked by: username_0 on 2021-09-07)
  
  I have just updated an existing site to on a staging domain on the same server.
  
  Old version: WP: 5.7 CIVI 5.29
  
  New version: WP: 5.8 CIVI 5.39
  
  On the old site a user can register via a profile in a page using a shortcode.
  
  In the new version the registration form exists BUT there is no Username / Password fields.
  
  The profile settings has "Account creation required" checked.
  
  Anyone can register in WP settings is checked.
  
  I have deactivated other plugins and changed the theme - but this doesn't affect the issue.
  
  I am loading the staging site in a clean browser - so I am NOT logged in.
  
  **Tags:** wordpress, registration, username, passwords
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2021-09-07. Score: 2 | Accepted answer
  
  The behavior changed slightly since 5.29. CiviCRM now uses the account creation in WP where a password is not set and a link is set to the new user. This is the preferred way to do account registration in WP.
  
  I do see in testing this that your profile now must have an email field. If the profile does not have an email field account creation won't work. Can you add an email field to the profile you are using? That should solve your issue.
  
  We'll need to document and potentially put up a change in CiviCRM to enable a primary email field if a profile does not have one and account creation is required.
  
  
  ---
  
  