Drupal\color_field\Plugin\Field\FieldFormatter\ColorFieldFormatterSwatch::getShape(): Return value must be of type array|string, Drupal\Core\StringTranslation\TranslatableMarkup

Created on 12 September 2022, over 2 years ago
Updated 19 January 2023, about 2 years ago

Problem/Motivation

Getting: Drupal\color_field\Plugin\Field\FieldFormatter\ColorFieldFormatterSwatch::getShape(): Return value must be of type array|string, Drupal\Core\StringTranslation\TranslatableMarkup

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Needs work

Version

3.0

Component

Code

Created by

heddn Nicaragua

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.

  • πŸ‡¨πŸ‡¦Canada liquidcms

    If 3.x requires PHP 8.x then it should have a requirement in its composer.json file stating this.

    Drupal requirements have been messed up as of late as far as PHP requirements. If you look at D9.4 status report it states 8.x is a requirement; but it is not.

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

    I just ran into this PHP 7 incompatibility. What can be done to address this?

  • πŸ‡§πŸ‡ͺBelgium rp7

    I also just ran into this PHP 7 incompatibility. This requirement should definitely be in the composer.json file.

  • πŸ‡«πŸ‡·France sashainparis Provins

    "Make it clear" means to me: in composer.json :-)

    Regards,

  • Status changed to Fixed 5 days ago
  • πŸ‡¨πŸ‡¦Canada nickdickinsonwilde Victoria, BC (T'So-uke lands)

    Setting back to fixed.
    At time of release PHP 7.4 was past end of life.
    definitely would have been better to include that in the dependencies but should be moot point by now.

Production build 0.71.5 2024