TypeError: Drupal\simple_membership\Entity\SimpleMembershipType::setSimpleWorkflow()

Created on 8 October 2024, about 1 month ago

Problem/Motivation

/admin/structure/simple_membership_type/add
gives an error on save

Steps to reproduce

apply patch from issue simple_membership/issues/3478438 πŸ› The "simple_membership_typeadd" entity type does not exist Active

Visit /admin/structure/simple_membership_type/add
Click save

The website encountered an unexpected error. Try again later.

TypeError: Drupal\simple_membership\Entity\SimpleMembershipType::setSimpleWorkflow(): Argument #1 ($workflow) must be of type array, null given, called in \modules\contrib\simple_membership\src\Form\SimpleMembershipTypeForm.php on line 59 in Drupal\simple_membership\Entity\SimpleMembershipType->setSimpleWorkflow() (line 84 of modules\contrib\simple_membership\src\Entity\SimpleMembershipType.php).
πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΏπŸ‡¦South Africa vlooi vlerke

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

Comments & Activities

Production build 0.71.5 2024