Answers.Body: <p>This is now fixed with the following:
  <a href="https://github.com/civicrm/civicrm-core/pull/20073/commits/4a004c120d497f227165d98c81e828998fdd276c" rel="nofollow noreferrer">https://github.com/civicrm/civicrm-core/pull/20073/commits/4a004c120d497f227165d98c81e828998fdd276c</a></p>
  <p><a href="https://lab.civicrm.org/dev/event/-/issues/53" rel="nofollow noreferrer">https://lab.civicrm.org/dev/event/-/issues/53</a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-12-17T21:04:37.487Z
Answers.LastActivityDate: 2021-12-17T21:04:37.487Z
Answers.UserDisplayName: Andy Burns
Body: <p>I have an event that uses a price set and limits a price option in a price set to 7. Once it was reached, the event registration page results in WSOD. If I increase it, the page loads just fine. I recall this occuring to me months ago as well.</p>
  <p>I am unable to properly test on <a href="https://wpmaster.demo.civicrm.org/" rel="nofollow noreferrer">https://wpmaster.demo.civicrm.org/</a> as it does not appear a registration in test mode counts against the participant count and I can't change this in the db directly. Is this just me or can others replicate?</p>
  <p>Civi 5.35.2 WP 5.7.2</p>
  <p>Ref: <a href="https://lab.civicrm.org/dev/core/-/issues?scope=all&amp;state=opened&amp;search=max+participant" rel="nofollow noreferrer">https://lab.civicrm.org/dev/core/-/issues?scope=all&amp;state=opened&amp;search=max+participant</a></p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-09-01T02:20:24.303Z
Comments.Text: what stops you using non-test registration on the demo site?
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-09-01T10:55:29.227Z
Comments.Text: want to use a price set with a real dollar amount
Comments.UserDisplayName: Andy Burns
Tags: <civievent><price-sets>
Title: Reaching max participants on event price set results in WSOD
ThreadText: # Reaching max participants on event price set results in WSOD
  
  (Asked by: username_0 on 2021-08-31)
  
  I have an event that uses a price set and limits a price option in a price set to 7. Once it was reached, the event registration page results in WSOD. If I increase it, the page loads just fine. I recall this occuring to me months ago as well.
  
  I am unable to properly test on <https://wpmaster.demo.civicrm.org/> as it does not appear a registration in test mode counts against the participant count and I can't change this in the db directly. Is this just me or can others replicate?
  
  Civi 5.35.2 WP 5.7.2
  
  Ref: <https://lab.civicrm.org/dev/core/-/issues?scope=all&state=opened&search=max+participant>
  
  **Tags:** civievent, price-sets
  
  > **Comments:**
  > **username_1**: what stops you using non-test registration on the demo site?  
  > **username_0**: want to use a price set with a real dollar amount  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2021-12-17. Score: 1 | Accepted answer
  
  This is now fixed with the following:
  <https://github.com/civicrm/civicrm-core/pull/20073/commits/4a004c120d497f227165d98c81e828998fdd276c>
  
  <https://lab.civicrm.org/dev/event/-/issues/53>
  
  
  ---
  
  