InvalidArgumentException on saving default values

Created on 19 September 2018, about 6 years ago
Updated 15 May 2023, over 1 year ago

On saving a link field with a default URL and class I'm getting a WSOD. Looking at the recent log messages gives me the following error:

InvalidArgumentException: The configuration property default_value.0.options.attributes.class.0 doesn't exist. in Drupal\Core\Config\Schema\ArrayElement->get() (line 76 of /var/www/vhosts/example.com/docroot/core/lib/Drupal/Core/Config/Schema/ArrayElement.php).

πŸ› Bug report
Status

Needs review

Version

1.5

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom vaccinemedia

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

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