TypeError: Drupal\twig_tweak\TwigTweakExtension::drupalField(): Argument #3 ($id) must be of type string, null given.

Created on 23 August 2023, over 1 year ago

Problem/Motivation

TypeError: Drupal\twig_tweak\TwigTweakExtension::drupalField(): Argument #3 ($id) must be of type string, null given, called in /tmp/rolling/eff4609/twig/64dd67671ca9d_image-portrait-banner.twi_R4yX48U97XO5z8NssUk48BPvB/qFpSWzmJDEjqks8cUNdke8hWSdx6siNCebeysnm-A0Y.php on line 53 in Drupal\twig_tweak\TwigTweakExtension::drupalField() (line 198 of modules/contrib/twig_tweak/src/TwigTweakExtension.php).

Steps to reproduce

  1. Upgrade to D10
  2. Create content that has layout builder enabled.
  3. Add block in layout builder and save.
  4. Click layout tab.

Proposed resolution

Apply patch

🐛 Bug report
Status

Active

Version

3.2

Component

Code

Created by

🇵🇭Philippines _renify_ cebu

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

Comments & Activities

Production build 0.71.5 2024