Cannot redeclare Drupal\tealiumiq\Service\Tealiumiq::$account

Created on 20 February 2024, 9 months ago

Problem/Motivation

The latest version duplicates the $account variable in the docroot/modules/contrib/tealiumiq/src/Service/Tealiumiq.php class. There's both a private and protected version declared at the top of the class file around line 125.

Steps to reproduce

Use the latest version and Drupal 10.2.3 with PHP 8.2

Proposed resolution

Remove the protected variable and leave the private one.

Remaining tasks

Make an MR with the extra variable removed.

User interface changes

None.

API changes

None.

Data model changes

None.

πŸ› Bug report
Status

Closed: works as designed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States SamLerner

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

Comments & Activities

  • Issue created by @SamLerner
  • Status changed to Closed: works as designed 9 months ago
  • πŸ‡ΊπŸ‡ΈUnited States SamLerner

    Closing as not needed, this was actually the result of an unnecessary patch file for 8.2 that was adding the extra code. Removing the patch fixed the issue.

Production build 0.71.5 2024