Drupal 10 compatibility fix

Created on 6 October 2023, 9 months ago
Updated 1 February 2024, 5 months ago

Problem/Motivation

Getting error on drush cr after upgraded to Drupal 10.

Steps to reproduce

Upgrade to Drupal 10
type: drush cr

www-data@8e3866cce05e:/app$ drush cr

Fatal error: Declaration of Drupal\simple_entity_merge\Routing\RouteSubscriber::getSubscribedEvents() must be compatible with Drupal\Core\Routing\RouteSubscriberBase::getSubscribedEvents(): array in /app/web/modules/contrib/simple_entity_merge/src/Routing/RouteSubscriber.php on line 79
[warning] Drush command terminated abnormally.

Proposed resolution

small update on simple_entity_merge/src/Routing/RouteSubscriber.php for Drupal 10.

Remaining tasks

n/a

User interface changes

n/a

API changes

n/a

Data model changes

n/a

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

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

Comments & Activities

Production build 0.69.0 2024