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 editing an existing newsletter issue, after trying to save I keep getting an error:
An illegal choice has been detected. Please contact the site administrator.
Log states:
Illegal choice 7 in Simplenews element.
There no way to edit or save an existing newsletter...
Comments
Comment #1
Tino CreditAttribution: Tino commentedFound it!In the content type settings of simplenews, I translated the value of "IDENTIFACTION -> Type" to my own language.
The module obviously does not like this. :)
Changing it back, makes the error go away.
Comment #2
Tino CreditAttribution: Tino commentedAfter I did the above, the error was gone for a minute. But after adding imagefield, insert, ckeditor and so on, the error is back. Not sure what causes it...Comment #3
Tino CreditAttribution: Tino commentedI suspect module Taxonomy Defaults to be causing this:
Default terms
Below you may select default terms for each content type. Checking the 'Hide' checkbox to hide the vocabulary on the node creation form while still applying the default terms.
I had the newsletter selected as default and hidden its dropdown menu with this module.
When I uncheck "hide" again, the error disappears.
Comment #4
Simon Georges CreditAttribution: Simon Georges commentedHi,
What version of Taxonomy Defaults are you using ? Could it be the same issue as #810830: An illegal choice has been detected - please contact the site administrator ?
Comment #5
Tino CreditAttribution: Tino commentedCould be a related issue. I'm using Taxonomy Defaults 6.x-2.0. The problem only occurs when 'hidden'.
Comment #6
Simon Georges CreditAttribution: Simon Georges commentedHi,
Could you test with the new release of Taxonomy Defaults (6.x-2.1) ?
Comment #7
Simon Georges CreditAttribution: Simon Georges commentedComment #8
Simon Georges CreditAttribution: Simon Georges commentedConsidering this a duplicate of #810830: An illegal choice has been detected - please contact the site administrator, please re-open if it's not the case.