Parsing Error in FieldGalleryFormatter.php

Created on 27 March 2023, over 1 year ago
Updated 31 July 2023, over 1 year ago

Website crash

Install v. 2.0.0-rc3

Correct code

Remaining tasks

User interface changes

API changes

Data model changes

Udated to the vers. 2.0..0-rc,
I got:
ParseError: syntax error, unexpected identifier "protectedw", expecting "function" or "const" in Composer\Autoload\includeFile() (line 50 of modules/field_gallery/src/Plugin/Field/FieldFormatter/FieldGalleryFormatter.php).

Can't uninstall modules, can't view articles, etc. Fortunately I'm still able to login.

Reversing to the previous version of FieldGalleryFormatter.php seems to solve the problem.

Drupal 9.5.7

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇮🇹Italy kinmen

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

Comments & Activities

Production build 0.71.5 2024