Type Error after recent update to message_notify

Created on 31 January 2024, 12 months ago
Updated 19 March 2024, 10 months ago

Problem/Motivation

The commit here https://www.drupal.org/project/message_notify/issues/3154280 πŸ“Œ MessageNotifier service should implement an MessageNotifierInterface Fixed
causes the following error when sending a message.

TypeError: Drupal\message_subscribe\Subscribers::__construct(): Argument #4 ($message_notifier) must be of type Drupal\message_notify\MessageNotifier, Drupal\message_notify\Service\MessageNotifyService given, called in /var/www/vhosts/...../prod/web/core/lib/Drupal/Component/DependencyInjection/Container.php on line 259 in Drupal\message_subscribe\Subscribers->__construct() (line 107 of /var/www/vhosts/....../prod/web/modules/contrib/message_subscribe/src/Subscribers.php).

πŸ“Œ Task
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States loze Los Angeles

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024