Call to a member function id() on null

Created on 12 August 2022, over 2 years ago
Updated 10 April 2024, 7 months ago

Problem/Motivation

When we translate a node returns: "Error: Call to a member function id() on null in Drupal\layout_builder_at\Plugin\Field\FieldWidget\LayoutBuilderCopyWidget->extractFormValues() (line 263 of modules/contrib/layout_builder_at/src/Plugin/Field/FieldWidget/LayoutBuilderCopyWidget.php)"

Steps to reproduce

Click on trnslate node, select language and click on save.

Proposed resolution

Check if the block exists.

🐛 Bug report
Status

Needs review

Version

2.12

Component

Code

Created by

🇪🇸Spain dcraig91

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024