Error when clearing all caches after upgrading smart date

Created on 26 March 2023, over 1 year ago
Updated 27 March 2023, over 1 year ago

Problem/Motivation

I get this error when I try to clear all caches after upgrading smart date to version 3.7.2:

PHP Parse error: syntax error, unexpected '|', expecting ';' or '{' in /web/modules/contrib/smart_date/src/Normalizer/SmartDateItemNormalizer.php on line 28

Php: 7.4.33
Drupal: 9.5.7

Steps to reproduce

Upgrade smart date with composer.

drush cr

after upgrade

🐛 Bug report
Status

Needs review

Version

3.7

Component

Code

Created by

🇪🇸Spain wagafo

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

Comments & Activities

Production build 0.71.5 2024