Breaking change since 8.x-1.17

Created on 3 September 2019, over 5 years ago
Updated 1 February 2024, 11 months ago

We are using Drupal 8.6.17. Recently after we upgraded contact_emails module from 8.x-1.16 to 8.x-1.18, we see fatal error caused by this module as below:

TypeError: Argument 4 passed to Drupal\contact_emails\ContactEmailer::__construct() must be an instance of Drupal\Component\Utility\EmailValidatorInterface, instance of Egulias\EmailValidator\EmailValidator given, called in /mnt/www/html/eadrupaltest/docroot/core/lib/Drupal/Component/DependencyInjection/Container.php on line 278 in /mnt/www/html/eadrupaltest/docroot/modules/contrib/contact_emails/src/ContactEmailer.php on line 84

After digging, it turns out there is a change record related to the EmailValidatorInterface:
https://www.drupal.org/node/2997196 β†’

So I am wondering if you could put this information in the project homepage to remind people that version 8.x-1.17 and above requires Drupa core 8.7.x and above.

Thanks

πŸ’¬ Support request
Status

Closed: outdated

Version

1.17

Component

Documentation

Created by

πŸ‡¦πŸ‡ΊAustralia eric.chenchao

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