Uncaught TypeError in jQuery Environment Indicator

Created on 27 May 2025, 18 days ago

Problem/Motivation

While attempting to utilize the environment indicator module, the JavaScript encounters a critical error. When executing jQuery code intended to attach an event listener to the #environment-indicator element, the console logs "Uncaught TypeError: Cannot read properties of undefined (reading 'addEventListener')". This error prevents proper execution of intended behaviors tied to this element.

Steps to reproduce

  1. Install the Environment Indicator Module
  2. Configure the Module
  3. Check the console of any page

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

4.0

Component

Code

Created by

🇮🇳India indrajithkb Kerala

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

Comments & Activities

Production build 0.71.5 2024