$pathValidator is deprecated in Drupal\set_front_page\Form\SetFrontPageEntitySettings->__construct()

Created on 30 July 2024, 4 months ago
Updated 5 August 2024, 4 months ago

Problem/Motivation

When access any node in order to set it as a front page, the following error displays:

Deprecated function: Creation of dynamic property Drupal\set_front_page\Form\SetFrontPageEntitySettings::$pathValidator is deprecated in Drupal\set_front_page\Form\SetFrontPageEntitySettings->__construct() (line 64 of modules/contrib/set_front_page/src/Form/SetFrontPageEntitySettings.php).

Steps to reproduce

Enable 'Set Front Page' for a content type (Basic page), create a node of that type, which will take you to that node's view page, in order to click on 'Set front page'. When the node view page loads, the above error is displayed.

Proposed resolution

Patch

🐛 Bug report
Status

Needs review

Component

Code

Created by

🇷🇴Romania andreic

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