Hello

When I try to edit the store type
web/admin/commerce/config/store-types/online/edit

I get this error message.

The website encountered an unexpected error. Please try again later.
TypeError: Argument 1 passed to Drupal\layout_builder\Plugin\SectionStorage\DefaultsSectionStorage::setSectionList() must implement interface Drupal\layout_builder\SectionListInterface, instance of Drupal\Core\Entity\Entity\EntityViewDisplay given, called in C:\wamp64\www\shopd8\web\core\modules\layout_builder\src\SectionStorage\SectionStorageManager.php on line 63 in Drupal\layout_builder\Plugin\SectionStorage\DefaultsSectionStorage->setSectionList() (line 93 of core\modules\layout_builder\src\Plugin\SectionStorage\DefaultsSectionStorage.php).

Is it commerce module responsible or layout_builder ?

Do you know how to fix it ?

Thanks in advance

Comments

selinav created an issue. See original summary.

bojanz’s picture

Title: Store types » Error with Layout Builder

We claim no compatibility with layout_builder yet, so it's very possible that the combination is broken.

Are you running 8.7.0-beta1 or newer? I wonder if it's a recent regression.

selinav’s picture

Thank you for your quick reply.
I have the latest version.
I have ds suite and layout builder activated simultaneously. When I deactivate ds suite it works well.

Sorry for the error.

selinav’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.