Creation of dynamic property WebformViewsEntityReverse::$joinManager is deprecated

Created on 25 October 2023, about 1 year ago
Updated 27 August 2024, 4 months ago

Problem/Motivation

Deprecated function: Creation of dynamic property Drupal\webform_views\Plugin\views\relationship\WebformViewsEntityReverse::$joinManager is deprecated in Drupal\webform_views\Plugin\views\relationship\WebformViewsEntityReverse->__construct() (line 32 of modules/contrib/webform_views/src/Plugin/views/relationship/WebformViewsEntityReverse.php).

The same class also uses $this->first_alias without declaring that member variable.

Steps to reproduce

Upgrade to Drupal 10.1.

Proposed resolution

Declare the member variables.

  protected ViewsHandlerManager $joinManager;
  protected string $first_alias;
🐛 Bug report
Status

Fixed

Version

5.0

Component

Code

Created by

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