php 8.3 complaining about undefined property in BaseSimpleTrait

Created on 5 August 2024, 4 months ago
Updated 4 September 2024, 3 months ago

Problem/Motivation

Warning: Undefined property: Drupal\colored_field_counter\Plugin\Field\FieldWidget\SimpleStringTextfieldWidget::$isWysiwyg in Drupal\colored_field_counter\Plugin\Field\FieldWidget\SimpleStringTextfieldWidget->makeAttachement() (line 131 of modules/contrib/colored_field_counter/src/Plugin/Field/FieldWidget/BaseSimpleTrait.php).

Steps to reproduce

Open a form with a field using the widget

Proposed resolution

trait BaseSimpleTrait {
...

    protected $isWysiwyg = false;
🐛 Bug report
Status

Fixed

Version

1.1

Component

Code

Created by

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

Comments & Activities

Production build 0.71.5 2024