TypeError: i is null

Created on 13 March 2024, over 1 year ago

I see error 'i is null' when I use inspect browser tool. This is related to eu_cookie_compliance.min.js file. I changed the eu_cookie_compliance.min code but 'Aggregate JavaScript files' doesn't work in 'admin/config/development/performance'

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @malirezaei
  • Status changed to Postponed: needs info 5 days ago
  • 🇳🇿New Zealand atowl

    Hi @malirezaei

    Are you still seeing this error at all with the later version of the EUCC?

    If you need to debug it a bit better, you could change the eu_cookie_compliance.libraries.yml to look like:

    eu_cookie_compliance:
      js:
        js/eu_cookie_compliance.js: { minified: false }
    

    then perform a Cache clear, and it should pinpoint a better line for your error.

Production build 0.71.5 2024