Answers.Body: <p>If you have &quot;Admin only&quot; membership types, this stops the ability to create contribution and membership record. Change the membership types to &quot;Public&quot; as a workaround. Using Pricesets negates the need to have &quot;Admin only&quot; membership types.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-11-13T23:02:36.963Z
Answers.LastActivityDate: 2022-11-13T23:02:36.963Z
Answers.UserDisplayName: Justin Freeman - Agileware
Answers.Body: <p>Resolved. errors in the creation of contribution. confusion between pricing and membership in civimember</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-03-28T14:56:43.307Z
Answers.LastActivityDate: 2022-03-28T14:56:43.307Z
Answers.UserDisplayName: ziako31
Answers.Body: <p>I saw this on a Wordpress site recently and opening the Membership Type and resaving it in the UI (without changing any settings) seemed to resolve it. I'm guessing it was something related to a past upgrade process that left a wrinkle somehow and resaving ironed it out.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-02-17T15:51:49.237Z
Answers.LastActivityDate: 2023-02-17T15:51:49.237Z
Answers.UserDisplayName: Laryn
Body: <p>Civicrm : When creating a new membership I get this error message. : Mandatory key(s) missing from params array: membership_id Membership is not created, but the contribution is created. I have double-checked the membership types and pricing and see nothing out of the ordinary. The list of members is displayed normally with new contribution.
  Registration for events and activities is hassle-free.
  -Joomla 3.10.6, Civicrm: 5.43.2, php 7.4.28</p>
  
Tags: <civimember>
Title: error creating Membership : Mandatory key(s) missing from params array: membership_id
ThreadText: # error creating Membership : Mandatory key(s) missing from params array: membership_id
  
  (Asked by: username_0 on 2022-03-27)
  
  Civicrm : When creating a new membership I get this error message. : Mandatory key(s) missing from params array: membership\_id Membership is not created, but the contribution is created. I have double-checked the membership types and pricing and see nothing out of the ordinary. The list of members is displayed normally with new contribution.
  Registration for events and activities is hassle-free.
  -Joomla 3.10.6, Civicrm: 5.43.2, php 7.4.28
  
  **Tags:** civimember
  
  
  ---
  
  ## 3 answers
  
  ### Answer by username_1 on 2022-11-13. Score: 1
  
  If you have "Admin only" membership types, this stops the ability to create contribution and membership record. Change the membership types to "Public" as a workaround. Using Pricesets negates the need to have "Admin only" membership types.
  
  
  ---
  
  ### Answer by username_0 on 2022-03-28. Score: 1
  
  Resolved. errors in the creation of contribution. confusion between pricing and membership in civimember
  
  
  ---
  
  ### Answer by username_2 on 2023-02-17. Score: 0
  
  I saw this on a Wordpress site recently and opening the Membership Type and resaving it in the UI (without changing any settings) seemed to resolve it. I'm guessing it was something related to a past upgrade process that left a wrinkle somehow and resaving ironed it out.
  
  
  ---
  
  