- Issue created by @Grimreaper
- 🇫🇷France Grimreaper France 🇫🇷
Encountered 4 other types of error when enabling DB on all Sobki's displays.
Warning: Undefined array key "block_content" in Drupal\display_builder_entity_view\Entity\LayoutBuilderEntityViewDisplay->buildThemeRegistryEntry() (line 542 of modules/contrib/display_builder/modules/display_builder_entity_view/src/Entity/EntityViewDisplayTrait.php).
Warning: Undefined array key "#information" in Drupal\webform\Element\Webform::preRenderWebformElement() (line 136 of modules/contrib/webform/src/Element/Webform.php).
TypeError: Drupal\display_builder_entity_view\BuilderDataConverter::convertFromLayoutBuilder(): Argument #1 ($sections) must be of type array, null given, called in /project/app/modules/contrib/display_builder/modules/display_builder_entity_view/src/Entity/LayoutBuilderEntityViewDisplay.php on line 130 in Drupal\display_builder_entity_view\BuilderDataConverter->convertFromLayoutBuilder() (line 71 of modules/contrib/display_builder/modules/display_builder_entity_view/src/BuilderDataConverter.php).
Warning: Attempt to read property "title" on null in template_preprocess_image_formatter() (line 60 of core/modules/image/image.field.inc).
Note for myself:
https://web-sobki-d11.docker.localhost/admin/structure/block-content/man...
https://web-sobki-d11.docker.localhost/admin/structure/block-content/man...
https://web-sobki-d11.docker.localhost/admin/structure/types/manage/job_...
https://web-sobki-d11.docker.localhost/admin/structure/block-content/man...
https://web-sobki-d11.docker.localhost/admin/structure/block-content/man...
https://web-sobki-d11.docker.localhost/admin/structure/block-content/man...
https://web-sobki-d11.docker.localhost/admin/structure/block-content/man...
https://web-sobki-d11.docker.localhost/admin/structure/block-content/man...
https://web-sobki-d11.docker.localhost/admin/structure/block-content/man...
https://web-sobki-d11.docker.localhost/admin/structure/block-content/man...
https://web-sobki-d11.docker.localhost/admin/structure/types/manage/blog... - Merge request !111[#3544033] fix: Layout Builder conversion without sections. → (Merged) created by Grimreaper
- 🇫🇷France Grimreaper France 🇫🇷
Fixed LB conversion with empty section.
New one
Warning: Undefined array key "name" in template_preprocess_taxonomy_term() (line 66 of core/modules/taxonomy/taxonomy.module).
- 🇫🇷France Grimreaper France 🇫🇷
Remaining warnings:
Warning: Undefined array key "#information" in Drupal\webform\Element\Webform::preRenderWebformElement() (line 136 of modules/contrib/webform/src/Element/Webform.php).
Warning: Attempt to read property "title" on null in template_preprocess_image_formatter() (line 60 of core/modules/image/image.field.inc).
+ other warnings related to image formatter. - 🇫🇷France Grimreaper France 🇫🇷
Warning: Attempt to read property "title" on null in template_preprocess_image_formatter() (line 60 of core/modules/image/image.field.inc).
+ other warnings related to image formatter.Comes from wrongly generated sample values, same problem in Layout Builder.
- 🇫🇷France Grimreaper France 🇫🇷
Last remaining issue on https://web-sobki-d11.docker.localhost/admin/structure/types/manage/job_...
- 🇫🇷France Grimreaper France 🇫🇷
For contexts.
In Block layout and in Layout Builder, it is coming from app/core/lib/Drupal/Core/Block/BlockBase.php
public function buildConfigurationForm(array $form, FormStateInterface $form_state) { ... $form['context_mapping'] = $this->addContextAssignmentElement($this, $contexts); ... }