Not working on paragraphs: Error: Call to a member function id() on null in Drupal\auto_entitylabel\Form\AutoEntityLabelForm->__construct()

Created on 14 August 2025, 5 days ago

Problem/Motivation

When trying to set up automatic entity labels on a paragraph bundle, I get the following error:

Error: Call to a member function id() on null in Drupal\auto_entitylabel\Form\AutoEntityLabelForm->__construct()

Still the tab is available at /admin/structure/paragraphs_type/[paragraphs_type]/auto-label (real url!)

Please note that the paragraph type ID is missing in the real URL and instead the URL is like shown above, which surely creates the issue.

Steps to reproduce

  1. Go to a paragraph bundle, e.g. https://dev.turf-times.de/admin/structure/paragraphs_type/text and click the "Automatic entity label tab"
  2. See the broken link and error message

Replacing the placeholder with the bundle ID, e.g. "text" does not work and leads to a "Page not found" error.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

3.0

Component

Code

Created by

🇩🇪Germany Anybody Porta Westfalica

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

Comments & Activities

Production build 0.71.5 2024