Answers.Body: <p>Welcome Larry! I think you found a compatibility issue with PHP 8.  Those have mostly been stamped out for a while, but I think you found a case that folks haven't uncovered yet.</p>
  <p>I just wrote a patch here: <a href="https://github.com/civicrm/civicrm-backdrop/pull/173" rel="nofollow noreferrer">https://github.com/civicrm/civicrm-backdrop/pull/173</a>.  Could you please install it and report back if it fixes the issue?  If you're not sure how to apply the patch, please leave a comment on this answer and I can give you more detailed instructions.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-04-09T20:05:09.467Z
Answers.Text: This fix has now been merged.
Answers.UserDisplayName: Jon G - Megaphone Tech
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-04-06T16:51:51.460Z
Answers.LastActivityDate: 2024-04-06T16:51:51.460Z
Answers.UserDisplayName: Jon G - Megaphone Tech
Body: <p>Fresh install of both backdrop and CiviCRM on Deb 12. When creating a user, I'm receiving the following:</p>
  <p>Fresh install on backdrop and receiving a similar message:</p>
  <pre><code>_civicrm_group_roles_validate_groups(): Argument #1 ($group_ids) must be of type array, null given, called in /var/www/backdrop/modules/civicrm/backdrop/modules/civicrm_group_roles/civicrm_group_roles.module on line 108
  </code></pre>
  <p>Advice is welcomed</p>
  
Tags: <groups><user-account><civigroup>
Title: User creation error on Deb 12, CiviCRM/Backdrop
ThreadText: # User creation error on Deb 12, CiviCRM/Backdrop
  
  (Asked by: username_0 on 2024-04-06)
  
  Fresh install of both backdrop and CiviCRM on Deb 12. When creating a user, I'm receiving the following:
  
  Fresh install on backdrop and receiving a similar message:
  
  ```
  _civicrm_group_roles_validate_groups(): Argument #1 ($group_ids) must be of type array, null given, called in /var/www/backdrop/modules/civicrm/backdrop/modules/civicrm_group_roles/civicrm_group_roles.module on line 108
  
  ```
  
  Advice is welcomed
  
  **Tags:** groups, user-account, civigroup
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2024-04-06. Score: 0
  
  Welcome username_0! I think you found a compatibility issue with PHP 8. Those have mostly been stamped out for a while, but I think you found a case that folks haven't uncovered yet.
  
  I just wrote a patch here: <https://github.com/civicrm/civicrm-backdrop/pull/173>. Could you please install it and report back if it fixes the issue? If you're not sure how to apply the patch, please leave a comment on this answer and I can give you more detailed instructions.
  
  > **Comments:**
  > **username_1**: This fix has now been merged.  
  
  ---
  
  