Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 293735

Workaround for "Call to a member function getLabel() after enabling layout_builder"

$
0
0

This is not a bug report

The bug report is here: #3125827: Prevent leftover fields from causing errors like "Call to a member function getLabel() after enabling layout_builder".
That issue needs help with reliably reproducing this bug outside of a migration.
This is a support request that includes a workaround patch to help you identify the malformed config on your site.

Original report by adubovskoy

Existing drupal 8 site (upgraded from 8.2.x to 8.3, 8.4, 8.5). Current version 8.5.5 . If I enable layout_builder, then:

Error: Call to a member function getLabel() on null in Drupal\layout_builder\Plugin\Derivative\FieldBlockDeriver->getDerivativeDefinitions() (line 111 of /home/agwophqf/public_html/core/modules/layout_builder/src/Plugin/Derivative/FieldBlockDeriver.php) #0 ...

Viewing all articles
Browse latest Browse all 293735

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>