PHP 8: Constant DRUPAL_ROOT already defined metatag_import_export_csv.drush.inc:25

Created on 7 October 2022, about 2 years ago
Updated 24 March 2023, over 1 year ago

Problem/Motivation

After upgrading to Drupal 8, the following warnings are being displaying when running drush commands:

[warning] Constant DRUPAL_ROOT already defined in                              
metatag_import_export_csv.drush.inc:25

Steps to reproduce

Upgrade to PHP 8 and run drush updatedb, for example.

Proposed resolution

Check if that DRUPAL_ROOT constant already exists to not conflict with other modules or website setups.

πŸ› Bug report
Status

RTBC

Version

1.1

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom lesleyfernandes

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

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

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024