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'])

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

tklawsuc created an issue. See original summary.

jabberwooki’s picture

Here is a patch that adds the isset($settings['settings']['registration_waitlist_enable']) ckech at line 27 of registration.form.inc.

Chris Matthews’s picture

Version: 7.x-1.5 » 7.x-1.x-dev
Status: Active » Needs review
Issue tags: -waitlist
4kant’s picture

#2 solved the issue for me.
Thanks

manoloka’s picture

#2 solved for me too

Thanks

john.oltman’s picture

Status: Needs review » Closed (outdated)