Install causes settings form errors

Created on 19 February 2024, 4 months ago
Updated 5 March 2024, 4 months ago

Problem/Motivation

When going to configuration settings, after install, there are a handful of errors being generated.

Steps to reproduce

After a fresh install, go to Mercury Editor settings (/admin/config/content/mercury-editor). You will see errors.

Proposed resolution

Add variable check to line 158 of /src/Form/SettingsForm.php.
'#default_value' => is_array($default_bundle_values) ? $default_bundle_values[$entity_type] : [],

Setup

Drupal: 10.2.3
PHP: 8.2.13
Mercury Editor: 2.1.0-alpha14

πŸ› Bug report
Status

Fixed

Version

2.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States esch

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024