ParseError: Unclosed '(' on line 273 does not match ']' in Composer\Autoload\includeFile() (line 274 of modules/contrib/ebt_core/src/Plugin/Field/FieldWidget/EbtSettingsDefaultWidget.php).

Created on 29 January 2023, almost 2 years ago
Updated 30 January 2023, almost 2 years ago

Problem/Motivation

This is the error when we install the EBT Text:

ParseError: Unclosed '(' on line 273 does not match ']' in Composer\Autoload\includeFile() (line 274 of modules/contrib/ebt_core/src/Plugin/Field/FieldWidget/EbtSettingsDefaultWidget.php).

Steps to reproduce

  1. Install the EBT Core (1.4.x)
  2. Enable that
  3. Install the EBT Text 1.4.0
  4. Enable that
  5. Create custom block using block type EBT text
  6. Result: The error will be displayed:
    ParseError: Unclosed '(' on line 273 does not match ']' in Composer\Autoload\includeFile() (line 274 of modules/contrib/ebt_core/src/Plugin/Field/FieldWidget/EbtSettingsDefaultWidget.php).</li>
      <li>

Proposed resolution

We can fix the array in the Form API of EbtSettingsDefaultWidget

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

1.4

Component

Code

Created by

🇧🇷Brazil renatog Campinas

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

Comments & Activities

Production build 0.71.5 2024