Problem/Motivation

With notices turned on, I get the following error:

Notice: Undefined index: in eu_cookie_compliance_build_data() (line 364 of modules/contrib/eu_cookie_compliance/eu_cookie_compliance.module).

Steps to reproduce

Turn on notices and reload your site. It might require an upgrade for an already installed module.

Proposed resolution

The issue stems from the config setting "popup_info_template" missing from the config array. Thus, I think an install hook to update this and set a default would help.

Remaining tasks

Create a hook to patch this.

User interface changes

None

API changes

None

Data model changes

None

CommentFileSizeAuthor
#5 missing-config-value-3251915-5.patch904 bytesdtabirca
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:

Comments

pthurmond created an issue. See original summary.

svenryen’s picture

Thanks for the report. I'll take a look.

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

dtabirca’s picture

Status: Active » Needs review
StatusFileSize
new904 bytes

I've encountered this issue during a D9 update appearing right after clearing cache.

  • svenryen committed 7745b6f on 8.x-1.x authored by dtabirca
    Issue #3251915 by dtabirca, pthurmond, svenryen: Missing config value...
svenryen’s picture

Status: Needs review » Fixed

Committed, thanks for the contribution!

Status: Fixed » Closed (fixed)

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