- Issue created by @vlooi vlerke
I have resolved the issue. I have added a patch. please refer to attached patch.
/admin/structure/simple_membership_type/add
gives an error on save
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).
Active
1.0
Code
I have resolved the issue. I have added a patch. please refer to attached patch.