PHP Fatal error: Declaration of Drupal\address\Plugin\Field\FieldType\AddressItem::getLocale() must be compatible with CommerceGuys\Addressing\AddressInterface::getLocale(): ?string

Created on 23 September 2024, about 2 months ago

PHP Fatal error: Declaration of Drupal\address\Plugin\Field\FieldType\AddressItem::getLocale() must be compatible with CommerceGuys\Addressing\AddressInterface::getLocale(): ?string in /Users/vindesh/Sites/neartexchange/modules/contrib/address/src/Plugin/Field/FieldType/AddressItem.php on line 351

Fatal error: Declaration of Drupal\address\Plugin\Field\FieldType\AddressItem::getLocale() must be compatible with CommerceGuys\Addressing\AddressInterface::getLocale(): ?string in /Users/vindesh/Sites/neartexchange/modules/contrib/address/src/Plugin/Field/FieldType/AddressItem.php on line 351

--------------------

PHP Fatal error: Class Drupal\address\Plugin\Field\FieldType\AddressItem contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (CommerceGuys\Addressing\AddressInterface::getAddressLine3) in /Users/vindesh/Sites/neartexchange/modules/contrib/address/src/Plugin/Field/FieldType/AddressItem.php on line 30

Fatal error: Class Drupal\address\Plugin\Field\FieldType\AddressItem contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (CommerceGuys\Addressing\AddressInterface::getAddressLine3) in /Users/vindesh/Sites/neartexchange/modules/contrib/address/src/Plugin/Field/FieldType/AddressItem.php on line 30

Steps to reproduce:
When upgrade drupal 9 to drupal 10 that time this issue will see.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.0

Component

------------------

Created by

🇮🇳India vindesh Indore

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

Comments & Activities

Production build 0.71.5 2024