Reference to constant that does not exist

Created on 1 November 2023, over 1 year ago

Problem/Motivation

In OrangeDamConfigurationManager.php there is a use statement for a class that does not exist.

use Drupal\jfkl_orange_dam\OrangeDamContentManager;

This class provides a constant used later in the code.

OrangeDamContentManager::LOGGER_CHANNEL

Since this jfkl_orange_dam\OrangeDamContentManager class cannot be expected to exist anywhere (it is not included in composer.json), this will lead to a fatal error.

Proposed resolution

Provide a class constant for a logger channel that is native to this class.

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States apotek

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

Comments & Activities

Production build 0.71.5 2024