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 installing, getting the following error:
Warning: Undefined array key "" in eu_cookie_compliance_build_data() (line 399 of eu_cookie_compliance.module)
In addition to this the settings page at: /admin/config/system/eu-cookie-compliance/settings does not save (clicking the save configuration button does nothing)
Issue fork eu_cookie_compliance-3323350
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
Problue SolutionsComment #5
sonvir249 CreditAttribution: sonvir249 as a volunteer and commentedComment #6
Prashant.c@sonvir249
I could not reproduce both issues mentioned in the description
I am using Drupal 9 and not getting any warning messages also save configuration is working correctly it is saving the values.
Could you please mention the steps to reproduce?
Comment #7
Mahima_Mathur23 CreditAttribution: Mahima_Mathur23 at Material for Drupal India Association commentedI am unable to replicate the issue too with Drupal 10 as well.
Any replication steps would be appreciated.
Comment #8
cdestrait CreditAttribution: cdestrait as a volunteer and commentedHello,
If that can help, I reproduce the
Warning: Undefined array key "" in eu_cookie_compliance_build_data() (line 399 of eu_cookie_compliance.module)
issue by not filling thepopup_info_template
key in myeu_cookie_compliance.settings.yml
file.Comment #9
edward.peters CreditAttribution: edward.peters commentedI have exactly the same problems on a fresh install of Drupal 9.5.7
Comment #10
arne_hortell CreditAttribution: arne_hortell commentedThe changes in #5 seems to work for me
Comment #13
svenryen CreditAttribution: svenryen at Ramsalt Lab commentedThanks for spotting this and for the RTBC in #10.