Issue with layout paragraphs

Created on 6 February 2023, over 1 year ago
Updated 20 February 2024, 4 months ago

Problem/Motivation

I'm using layout paragraph to build contents, I'm want to use fieldblock to allow content editor to place fields from content type in the place on page as desired. I see following errors in logs.

Warning: Undefined array key "settings" in Drupal\fieldblock\Plugin\Block\FieldBlock->blockFormChangeFieldOrFormatterAjax() (Zeile 332 in /app/web/modules/contrib/fieldblock/src/Plugin/Block/FieldBlock.php).

Warning: Trying to access array offset on value of type null in Drupal\fieldblock\Plugin\Block\FieldBlock->blockFormChangeFieldOrFormatterAjax() (Zeile 332 in /app/web/modules/contrib/fieldblock/src/Plugin/Block/FieldBlock.php).

TypeError: Drupal\Core\Render\MainContent\AjaxRenderer::renderResponse(): Argument #1 ($main_content) must be of type array, null given, called in /app/web/core/lib/Drupal/Core/Form/FormAjaxResponseBuilder.php on line 89 in Drupal\Core\Render\MainContent\AjaxRenderer->renderResponse() (Zeile 49 in /app/web/core/lib/Drupal/Core/Render/MainContent/AjaxRenderer.php) 

Steps to reproduce

  • Create a container paragraph to as mentioned in layout paragraph module.
  • Create a paragraph type block.
  • Using block_field module add a block reference field to the block paragraph type.
  • In this field enable to add node content field.
  • Now create a node and add field using block paragraph type and save it.
  • Open above paragraph again and try to change the field, it throws error in logs.
🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇮🇳India Sharique

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024