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)

Command icon 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:

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Problue Solutions created an issue. See original summary.

Problue Solutions’s picture

Issue summary: View changes

sonvir249 made their first commit to this issue’s fork.

sonvir249’s picture

Status: Active » Needs review
Prashant.c’s picture

@sonvir249

I could not reproduce both issues mentioned in the description

  1. Warning: Undefined array key "" in eu_cookie_compliance_build_data() (line 399 of eu_cookie_compliance.module)
  2. 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)

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?

Mahima_Mathur23’s picture

I am unable to replicate the issue too with Drupal 10 as well.

Any replication steps would be appreciated.

cdestrait’s picture

Hello,

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 the popup_info_template key in my eu_cookie_compliance.settings.yml file.

edward.peters’s picture

I have exactly the same problems on a fresh install of Drupal 9.5.7

arne_hortell’s picture

The changes in #5 seems to work for me

svenryen made their first commit to this issue’s fork.

  • svenryen committed a89945e1 on 8.x-1.x authored by sonvir249
    Issue #3323350 by sonvir249, Problue Solutions, Prashant.c,...
svenryen’s picture

Status: Needs review » Fixed

Thanks for spotting this and for the RTBC in #10.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.