Problem/Motivation

Due to the changes in Visible components (fields, extra fields) in Entity Display config entities store their region, when saving the entity form display form for commerce orders the following exception occurs:

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

Drupal\Component\Plugin\Exception\PluginNotFoundException: The "hidden" plugin does not exist.

Steps to reproduce

  1. Go to /admin/commerce/config/order-types/default/edit/form-display
  2. Hit the save button

Proposed resolution

As per the change request, in the weight field definition change

->setDisplayOptions('form', [
  'type' => 'hidden',
])
->setDisplayOptions('form', [
  'region' => 'hidden',
])
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

intrafusion created an issue. See original summary.

intrafusion’s picture

Status: Active » Closed (duplicate)
Related issues: +#3263846: The "hidden" plugin does not exist - Drupal 9 Compatibility