Fatal Error with Smart Trim 2.1.0

Created on 28 June 2023, over 1 year ago
Updated 24 November 2023, about 1 year ago

Problem/Motivation

When updating the Smart Trim module to 2.1.0, any page featuring the Smart Trim Readmore functionality spits out this error...

Fatal error: Declaration of Drupal\smart_trim_readmore\Plugin\Field\FieldFormatter\SmartTrimReadmoreFormatter::defaultSettings() must be compatible with Drupal\smart_trim\Plugin\Field\FieldFormatter\SmartTrimFormatter::defaultSettings(): array in /web/modules/contrib/smart_trim_readmore/src/Plugin/Field/FieldFormatter/SmartTrimReadmoreFormatter.php on line 30

As of now, it looks like this module is incompatible with the newest version of Smart Trim.

🐛 Bug report
Status

RTBC

Component

Code

Created by

🇺🇸United States chucksimply

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

Comments & Activities

Production build 0.71.5 2024