Deprecated method on PHP 8.2

Created on 20 February 2024, 9 months ago
Updated 4 April 2024, 8 months ago

Hi,

Problem/Motivation

 Deprecated function: Creation of dynamic property Drupal\webform\WebformTokenManager::$config is deprecated in Drupal\webform\WebformTokenManager->__construct() (line 108 of modules/contrib/webform/src/WebformTokenManager.php).

Drupal\webform\WebformTokenManager->__construct(Object, Object, Object, Object, Object) (Line: 259)
Drupal\Component\DependencyInjection\Container->createService(Array, 'webform.token_manager') (Line: 177)
Drupal\Component\DependencyInjection\Container->get('webform.token_manager', 1) (Line: 440)
Drupal\Component\DependencyInjection\Container->resolveServicesAndParameters(Array) (Line: 237)
Drupal\Component\DependencyInjection\Container->createService(Array, 'webform.exception_html_subscriber') (Line: 177)
Drupal\Component\DependencyInjection\Container->get('webform.exception_html_subscriber') (Line: 105)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.exception') (Line: 239)
Symfony\Component\HttpKernel\HttpKernel->handleThrowable(Object, Object, 1) (Line: 91)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 704)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)

Steps to reproduce

update php form 8.1 to 8.2

πŸ“Œ Task
Status

Closed: cannot reproduce

Version

6.2

Component

Code

Created by

πŸ‡«πŸ‡·France devil2005

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

Comments & Activities

Production build 0.71.5 2024