Fatal Error: commerceguys\addressing

Created on 8 August 2022, over 2 years ago
Updated 27 January 2023, almost 2 years ago

Problem/Motivation

updating from commerceguys/addressing (v1.3.0) to (v1.4.0) results in the following error.

"Fatal error: Declaration of Drupal\address\Repository\AddressFormatRepository::processDefinition($countryCode, array $definition) must be compatible with CommerceGuys\Addressing\AddressFormat\AddressFormatRepository::processDefinition(string $countryCode, array $definition): array in /code/web/modules/composer/address/src/Repository/AddressFormatRepository.php on line 38 "

Steps to reproduce

update commerceguys to v1.4.0 using composer.

πŸ› Bug report
Status

Closed: duplicate

Version

1.10

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States joseph-dickson San Dimas, California

Live updates comments and jobs are added and updated live.
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.

  • πŸ‡ΊπŸ‡ΈUnited States plato1123

    Can confirm was able to work around the issue with composer require commerceguys/addressing:1.3.0 drupal/address

    (we're not using drupal commerce in this site so was initially confused)

Production build 0.71.5 2024