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

Comments

paco11 created an issue. See original summary.

paco11’s picture

Assigned: paco11 » Unassigned
damienmckenna’s picture

Category: Bug report » Support request
Status: Active » Needs review

Please check to see if you still have the metatag.tokens.inc file in your metatag directory - it was deleted in 2.1.1, but it might still be present.

paco11’s picture

Perfect, don't overwrite the new module, but delete the folder and copy the new one.
Grazie

paco11’s picture

Status: Needs review » Closed (works as designed)