Inside eu_cookie_compliance_page_attachments() function, there is a line where you are trying to pass new variable to JS using next:

      'popup_use_bare_css'   => !empty($config->get('popup_use_bare_css')) ? $config->get('popup_use_bare_css') : FALSE,

But there is no 'popup_use_bare_css' key in config. There is a key 'use_bare_css'
Adding a patch which fixes it.

Comments

tarasich created an issue. See original summary.

tarasich’s picture

Status: Active » Needs review
StatusFileSize
new1.06 KB

Status: Needs review » Needs work

The last submitted patch, 2: missed_popup_use_bare_css_option_in_module_config-3003040-2.patch, failed testing. View results
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.

tarasich’s picture

Looks like you have problem with PHPCS in dev version. Test fail not related to this patch.
Tests should look good after this one merged
https://www.drupal.org/project/eu_cookie_compliance/issues/2989038#comme...

svenryen’s picture

Status: Needs work » Reviewed & tested by the community

Good catch!

  • svenryen committed aeaf113 on 8.x-1.x authored by tarasich
    Issue #3003040 by tarasich: Missed 'popup_use_bare_css' option in module...
svenryen’s picture

Status: Reviewed & tested by the community » Fixed

Committed to -dev.

Status: Fixed » Closed (fixed)

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