Unable to install Simple membership example due to unmet dependencies

Created on 9 October 2024, about 1 month ago

Problem/Motivation

Unable to install Simple membership example due to unmet dependencies:
core.entity_view_display.simple_membership.simple_membership.default (field.field.membership.membership.field_membership_term, membership.membership_type.membership)

Steps to reproduce

Install Simple membership example

Proposed resolution

dependencies:
  config:
 -   - field.field.membership.membership.field_membership_term
 -   - membership.membership_type.membership
+   - field.field.simple_membership.simple_membership.field_membership_term
+   - simple_membership.simple_membership_type.membership

This will give the following error on install
Drupal\Component\Plugin\Exception\PluginNotFoundException: The "membership" entity type does not exist. in Drupal\Core\Entity\EntityTypeManager->getDefinition() (line 142 of \core\lib\Drupal\Core\Entity\EntityTypeManager.php).

This will install the following
Simple membership type: simple membership
With field: Simple membership term

When you go to /admin/structure/simple_membership/add
You get the following error

TypeError: Cannot access offset of type string on string in Drupal\simple_membership\Plugin\Field\FieldWidget\SimpleWorkflowStateWidget->getOptions() (line 41 of \modules\contrib\simple_membership\src\Plugin\Field\FieldWidget\SimpleWorkflowStateWidget.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