PHP error on installing a site from config

Created on 21 December 2021, almost 3 years ago
Updated 11 October 2024, about 1 month ago

Problem/Motivation

When trying to install a site which is using Taxonomy Term Revision from config, the installation fails with a PHP error:
Call to a member function setHandlerClass() on null

Steps to reproduce

Create a new Drupal site, install this module, export the config, drop the database and try to install the site from config.

Proposed resolution

Handle the PHP error correctly.

Remaining tasks

Create a patch and test it by the community and maintainers.

User interface changes

None.

API changes

None.

Data model changes

None.

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇨🇭Switzerland dpacassi Zürich, Switzerland

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024