TypeError: FormsSteps::getFirstStep(): Return value must be of type Drupal\forms_steps\StepInterface

Created on 7 February 2025, about 2 months ago

Problem/Motivation

TypeError: Drupal\forms_steps\Entity\FormsSteps::getFirstStep(): Return value must be of type Drupal\forms_steps\StepInterface, false returned in Drupal\forms_steps\Entity\FormsSteps->getFirstStep() (line 409 of /app/public/modules/contrib/forms_steps/src/Entity/FormsSteps.php).

Steps to reproduce

- Install / setup clean Drupal without any content type
- go config/workflow/forms_steps
- create workflow
- add step(s) without content type because you dont have any
- check that your form steps are showing on forms step listing
- create a new content type
- now go again config/workflow/forms_steps
- now you see error

🐛 Bug report
Status

Active

Version

1.7

Component

Code

Created by

🇫🇮Finland tvalimaa

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024