Fatal Error with Smart Trim 2.1.0

Created on 28 June 2023, 12 months ago
Updated 24 November 2023, 7 months 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.69.0 2024