Typed property Drupal\tour\Entity\Tour::$module must not be accessed before initialization

Created on 19 August 2024, 8 months ago
Updated 29 August 2024, 7 months ago

Problem/Motivation

Upon enabling the module, I get the error,

Typed property Drupal\tour\Entity\Tour::$module must not be accessed before initialization in Drupal\tour\Entity\Tour->getModule() (line 128 of modules/contrib/tour/src/Entity/Tour.php).

Steps to reproduce

Enable the module in the UI.

Proposed resolution

define $module as an empty string.

πŸ› Bug report
Status

Closed: duplicate

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States BenStallings

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