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.
When a user is logged out and is viewing the lessons page, then enters their credentials in the login form and submits the login, they receive an error "An illegal choice has been detected. Please contact the site administrator."
The error is because the login form and exposed filters on the page both submit to the same url and the exposed filter form handler is running before the login. The "Draft Status" filter is set to not accept "any" as an option (i.e. required field)... so it throws a form error, which then blocks login.
Comments
Comment #1
BrockBoland CreditAttribution: BrockBoland commentedThis is caused by the same bug discussed in #1792964: "An illegal choice has been detected" on lesson list in fresh install. It's been fixed, but not yet pushed to drupalladder.org (which will happen sometime this week, I hope).
In the meantime, I fixed the view directly on drupalladder.org so that it will stop causing problems.