After updating to Metatag 2.1.1 PHP Fatal error: Cannot redeclare metatag_token_info()

Created on 9 June 2025, about 1 month ago

Problem/Motivation

After updating to Metatag 2.1.1 PHP Fatal error: Cannot redeclare metatag_token_info()
(previously declared in /var/www/web/modules/metatag/metatag.module:1052) in /var/www/web/modules/metatag/metatag.tokens.inc on line 88
As an administrator I navigate, but not in the public part.

Steps to reproduce

Drupal 10.4.8
PHP Version
8.1.32

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

2.1

Component

Code

Created by

🇮🇹Italy paco11

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

Comments & Activities

Production build 0.71.5 2024