Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
If the wait list setting is unchecked (or module is off) and I edit an individual registration when there is no more room I get Notice: Undefined index: registration_waitlist_enable
.
The issue happens on line 27 of registration.forms.inc
. When the form loads and there is no room left for registrations, it looks for $settings['settings']['registration_waitlist_enable']
however that setting is only added when wait list is checked in the registrations settings.
To fix the issue, there should be a check for the settings: isset($settings['settings']['registration_waitlist_enable'])
Comment | File | Size | Author |
---|---|---|---|
#2 | waitlist-notice-when-no-more-room-2563669-2.patch | 924 bytes | jabberwooki |
Comments
Comment #2
jabberwooki CreditAttribution: jabberwooki commentedHere is a patch that adds the isset($settings['settings']['registration_waitlist_enable']) ckech at line 27 of registration.form.inc.
Comment #3
Chris Matthews CreditAttribution: Chris Matthews commentedComment #4
4kant CreditAttribution: 4kant commented#2 solved the issue for me.
Thanks
Comment #5
manoloka CreditAttribution: manoloka commented#2 solved for me too
Thanks
Comment #6
john.oltman CreditAttribution: john.oltman at SiteBasin, Inc. commented