D10 Deprecated function: Creation of dynamic property Drupal\feeds\Form\MappingForm

Created on 24 February 2023, almost 2 years ago

Problem/Motivation

Deprecated function errors

Error message
Deprecated function: Creation of dynamic property Drupal\feeds\Form\MappingForm::$customSourcePluginManager is deprecated in Drupal\feeds\Form\MappingForm->__construct() (line 58 of modules/contrib/feeds/src/Form/MappingForm.php).
Deprecated function: Creation of dynamic property Drupal\feeds\TargetDefinition::$pluginId is deprecated in Drupal\feeds\TargetDefinition->setPluginId() (line 56 of modules/contrib/feeds/src/TargetDefinition.php).
Deprecated function: Creation of dynamic property Drupal\feeds\Form\MappingForm::$targets is deprecated in Drupal\feeds\Form\MappingForm->buildForm() (line 83 of modules/contrib/feeds/src/Form/MappingForm.php).
Deprecated function: Creation of dynamic property Drupal\feeds\Form\MappingForm::$sourceOptions is deprecated in Drupal\feeds\Form\MappingForm->buildForm() (line 86 of modules/contrib/feeds/src/Form/MappingForm.php).

Steps to reproduce

Install composer require 'drupal/feeds:^3.0@beta' through composer
Build a Feed Type
Errors occur.

Proposed resolution

Alter depreciated functions for PHP 8.1/8.2

Thanks for your reply in advance. Greetings, Martijn

🐛 Bug report
Status

Closed: duplicate

Component

Code

Created by

🇳🇱Netherlands Summit

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

Comments & Activities

Production build 0.71.5 2024