Problem/Motivation

There is a deprecation warning in WrapperManager in PHP 8.2:

Deprecated function: Creation of dynamic property Drupal\field_token_value\WrapperManager::$themeHandler is deprecated in Drupal\field_token_value\WrapperManager->__construct() (line 81 of modules/contrib/field_token_value/src/WrapperManager.php).

CommentFileSizeAuthor
#2 3368368-02.patch443 bytesjhedstrom
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

jhedstrom created an issue. See original summary.

jhedstrom’s picture

Status: Active » Needs review
StatusFileSize
new443 bytes

Adding a patch for use with composer.

liam morland’s picture

Status: Needs review » Reviewed & tested by the community

Simple patch. Looks good. Code works. I do not have a PHP 8.2 instance to use to test if the deprecation message is removed but I am confident that it would be.

haydent made their first commit to this issue’s fork.

  • haydent committed 539472fa on 3.x authored by jhedstrom
    Issue #3368368 by jhedstrom, Liam Morland: PHP 8.2 deprecation warning
    
haydent’s picture

Status: Reviewed & tested by the community » Fixed

Apologies for the delay, have merged this in. Thanks heaps for reporting.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.