I'm encountering this error when I try to add any block to my zentrope sub theme.

Steps to recreate:

  1. used drush to download and install zentrope in my D7 site.
  2. used drush to create zentrope subtheme
  3. drush ins "Subtheme Name" "subtheme_machine_name"

  4. used drush to enable maximizr.
  5. drush zdl "subtheme_machine_name" "maximizr"

  6. created basic block with links.
  7. placed basic block in footer forth column. Saved.
  8. created a second basic block and placed in footer third column.
  9. on Save got error "An illegal choice has been detected. Please contact the site administrator."
  10. in debugging I discovered that I was able to save both first and second blocks to Zentrope base and other themes.

I've conducted a few searches but haven't found anything conclusive. I'm filing as a bug simply because it is so early in the site development that I'm assuming that it isn't custom work or conflicts. I'll continue my debug and report back if I isolate the issue. Meanwhile, I'll appreciate any pointers or assistance.

Comments

alexweber’s picture

Thanks for the detailed error report.

Will look into it.

alexweber’s picture

Priority: Normal » Major
alexweber’s picture

Version: 7.x-2.0-beta11 » 7.x-2.x-dev
Assigned: Unassigned » alexweber
Status: Active » Postponed (maintainer needs more info)

@cluther I've tried replicating this bug with no success.

Could you please try this again with 7.x-2.0-rc2 and confirm that it still happens?

greta_drupal’s picture

For the record, I am getting this error, and I do not have Zentropy enabled.

alexweber’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

Awesome! :)

greta_drupal’s picture

Uhhh, easy for you to say. (I am using Marinelli beta 11...are they brothers of another mother? Also using Display Suite.)

alexweber’s picture

@greta_drupal Sorry I didn't mean to laugh at your problems, I'm just glad this isn't related to Zentropy! :)

greta_drupal’s picture

yeah, i got that. thought it was funny.

greta_drupal’s picture

Issue summary: View changes

cleaned up message formatting

JThan’s picture

Issue summary: View changes

Just for documenting it here:

A permament workaround was found in this comment (#7)
https://www.drupal.org/node/2192685#comment-9022315

Basically, somehow the "main page content" block is missing in the subtheme. Jump to another theme, configure the block and add it to the content region in your subtheme. After that it should work fine.

andriyun’s picture

In my case a have the same reason!
Error was caused by the lack of required block Main page content in Content region.

This block setting could be restored on this page:
/admin/structure/block/manage/system/main/configure

After restores all will be ok!

Please check your Main page content block configuration!

munge83’s picture

#10 Saved my day. Thanks @andriyun !