Deprecated function: Use of "static" in callables

Created on 10 February 2023, almost 2 years ago
Updated 24 July 2023, over 1 year ago

I am using Drupal 10. Metatag module works fine with php 8.1 Changing to php 8.2 produces the following error message:

Deprecated function: Use of "static" in callables is deprecated in Drupal\schema_metatag\Plugin\metatag\Tag\SchemaNameBase->output() (line 148 of modules/contrib/schema_metatag/src/Plugin/metatag/Tag/SchemaNameBase.php).
Deprecated function: Use of "static" in callables is deprecated in Drupal\schema_metatag\Plugin\metatag\Tag\SchemaNameBase->output() (line 148 of modules/contrib/schema_metatag/src/Plugin/metatag/Tag/SchemaNameBase.php).
Deprecated function: Use of "static" in callables is deprecated in Drupal\schema_metatag\Plugin\metatag\Tag\SchemaNameBase->output() (line 148 of modules/contrib/schema_metatag/src/Plugin/metatag/Tag/SchemaNameBase.php).
Deprecated function: Use of "static" in callables is deprecated in Drupal\schema_metatag\Plugin\metatag\Tag\SchemaNameBase->output() (line 148 of modules/contrib/schema_metatag/src/Plugin/metatag/Tag/SchemaNameBase.php).

🐛 Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

🇩🇪Germany Kulturmensch

Live updates comments and jobs are added and updated live.
  • PHP 8.2

    The issue particularly affects sites running on PHP version 8.2.0 or later.

Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024