Problem with Adding new content type

Created on 7 December 2023, about 1 year ago
Updated 18 December 2023, about 1 year ago

I am encountering an issue when I am adding a new content type.

Steps Reproduce:

1. Installed and enabled the module using Composer with the command: composer require 'drupal/prevent_entity_unpublished:^1.0'.

2: Going to Home > Administration > Structure > Content types > Add content type

3: After clicking the "Save and manage fields" it throws an error. error mention below

TypeError: Drupal\prevent_entity_unpublish\EntityPreupdate::entityUpdate(): Argument #1 ($entity) must be of type Drupal\Core\Entity\EntityInterface, null given

I've attached an image illustrating my actions—installing the module and searching within the extend panel.

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇮🇳India aman_lnwebworks

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

Comments & Activities

Production build 0.71.5 2024