Undefined array key "core"

Created on 21 August 2024, 3 months ago
Updated 11 September 2024, 3 months ago

Problem/Motivation

We receive a lot of warnings from the AcquiaTelemetryService's getTelemetryData() method.

Full message:

Warning: Undefined array key "core" in Drupal\acquia_connector\Services\AcquiaTelemetryService->getTelemetryData() (line 192)

It looks like there is a logic beforehand to retrieve Lightning extensions in use. If the module version matches the core version, it assumes it is a core module. I guess in our case, there are no such and this is why we get the warning message.

Proposed resolution

Add a check for existing key.

๐Ÿ› Bug report
Status

Fixed

Version

4.0

Component

Code

Created by

๐Ÿ‡ง๐Ÿ‡ฌBulgaria yivanov

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024