Declaration of Drupal\lightning_core\ConfigEntityDescriptionTrait::getDescription() must be compatible

Created on 4 January 2024, 12 months ago

Problem/Motivation

After upgrade to Drupal 10.2 I receive the following error:

PHP Fatal error:  Declaration of Drupal\lightning_core\ConfigEntityDescriptionTrait::getDescription() must be compatible with Drupal\Core\Entity\EntityDisplayModeBase::getDescription(): string in /var/www/html/modules/contrib/lightning_core/src/ConfigEntityDescriptionTrait.php on line 13

Proposed resolution

Change the declaration of the class.

🐛 Bug report
Status

Closed: duplicate

Version

5.2

Component

Code

Created by

🇬🇷Greece Mike Managoudis Athens

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

Comments & Activities

Production build 0.71.5 2024