syntax error, unexpected '->' (T_OBJECT_OPERATOR)

Created on 31 October 2022, about 2 years ago
Updated 31 May 2023, over 1 year ago

While try to enable cloning. Got this error.
syntax error, unexpected '->' (T_OBJECT_OPERATOR) in
Composer\Autoload\includeFile() (line 60 of modules/contrib/content_entity_clone/src/Plugin/content_entity_clone/FieldProcessor/EntityLabelCloneSuffix.php).

Note: this is because the code uses the nullsafe (?->) introduced by PHP 8. So the issue only occurs when using PHP < 8.

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇮🇳India pradhumanjainOSL

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.

Production build 0.71.5 2024