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.
After adding an initial mailing list and configuring the resulting block to appear in a region (also overriding the default block title), I get the following error:
Notice: Undefined index: mailing_list_show_name_1 in mailing_list_block_save() (line 163 of /home/tremon5/public_html/clients/cct/sites/all/modules/mailing_list/_list.module).
I can reproduce the error by resaving the block.
Comment | File | Size | Author |
---|---|---|---|
#4 | mailing_list-undefined-index-when-saving-mailing-list-block-1138276-4-D7.patch | 534 bytes | manuel.adan |
Comments
Comment #1
BrightBoldFixing issue title.
Comment #2
robsandbach CreditAttribution: robsandbach commentedI am seeing this too.
Comment #3
hgneng CreditAttribution: hgneng commentedI got the same issue on beta1 version
Comment #4
manuel.adanIt was due to missing return value from hook_block_configure implementation. Fixing this also fixes an untracked bug, the configuration option to show or hide the name field in the subscription form block did not appear in block configuration form.