Error after configuration syncronisation

Created on 15 June 2021, over 3 years ago
Updated 9 August 2023, over 1 year ago

Problem/Motivation

We use this module to distribute custom markup blocks using configuration management. After it worked well for many times, we run once into a invalid configuration. The blocks do not appear in frontend, but are listed on the admin page. If I try to edit a custom markup block, following error appears:

The website encountered an unexpected error. Please try again later.

InvalidArgumentException: The #default_value property has to be an entity object or an array of entity objects. in Drupal\Core\Entity\Element\EntityAutocomplete::valueCallback() (line 114 of core/lib/Drupal/Core/Entity/Element/EntityAutocomplete.php).

Steps to reproduce

1. Create custom markup blocks
2. drush config:export on source installation
3. drush config:import on target installation

The error happens seldom, seems hard to reproduce.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Closed: cannot reproduce

Version

1.1

Component

Code

Created by

🇩🇪Germany e5sego

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.

  • 🇪🇸Spain manuel.adan 🌌

    After 2+ years with no activity or any other report, it seems that it happened due to some third-party reason. Feel free to reopen if it happens again.

Production build 0.71.5 2024