- Issue created by @Sharique
- 🇮🇳India dineshkumarbollu
HI @Sharique
I created the patch to handle the error, please review.Thanks
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)
Active
2.0
Code
HI @Sharique
I created the patch to handle the error, please review.Thanks