AssertionError: "Workflow" must be defined in MODULE_NAME.field_type_categories.yml in assert()

Created on 21 February 2025, about 2 months ago

We installed the "Workflow" module but encountered an error when we tried to add new field in the content type

Steps to reproduce

1: Install the "Workflow" module using the following command:
composer require 'drupal/workflow:^1.8'

2: Add a new content type and try to add a new field.
When you click on "Create new field," the following error appears:

AssertionError: "Workflow" must be defined in MODULE_NAME.field_type_categories.yml in assert() (line 183 of core\lib\Drupal\Core\Field\FieldTypePluginManager.php).

An attached image illustrates the steps taken before encountering the error.

🐛 Bug report
Status

Active

Version

1.8

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