Setting up FAQ Mapping Set type results in error

Created on 13 March 2023, over 1 year ago
Updated 15 March 2023, over 1 year ago

Problem/Motivation

Setup of the FAQ Mapping set is resulting in an error, preventing FAQ mapping set from being used.

Key Vitals:
- Drupal version: 9.5.2
- schemadotorg module version: 1.0.0-alpha1
- Paragraph on this site is called "FAQ" and not "Question", unsure if that would result in this error being shown.

Steps to reproduce

- Install schemadotorg
- Install schemadotorg_mapping_set
- Navigate to /admin/config/search/schemadotorg/sets to Set up a mapping set
- Click "Setup types" next to FAQ
- Click Confirm
- Error should be shown

Full error message is included in files. The error message shown is as follows:
> Error: Call to a member function getDefaultSchemaTypeBundles() on null in Drupal\schemadotorg\SchemaDotOrgMappingManager->createType() (line 444 of modules/contrib/schemadotorg/src/SchemaDotOrgMappingManager.php).

πŸ› Bug report
Status

Fixed

Version

1.0

Component

User interface

Created by

πŸ‡ΊπŸ‡ΈUnited States redbrickone

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

Comments & Activities

Production build 0.71.5 2024