Implicitly marking parameter $items as nullable is deprecated

Created on 9 August 2025, 16 days ago

Problem/Motivation

PHP Deprecated:  mass_contact_entity_field_access(): Implicitly marking parameter $items as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/docroot/modules/contrib/mass_contact/mass_contact.module on line 109

Deprecated: mass_contact_entity_field_access(): Implicitly marking parameter $items as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/docroot/modules/contrib/mass_contact/mass_contact.module on line 109

PHP Deprecated:  mass_contact_opt_out_allowed_values_callback(): Implicitly marking parameter $entity as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/docroot/modules/contrib/mass_contact/mass_contact.module on line 132

Deprecated: mass_contact_opt_out_allowed_values_callback(): Implicitly marking parameter $entity as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/docroot/modules/contrib/mass_contact/mass_contact.module on line 132

Steps to reproduce

Clear cache in Drupal 11.2 with this module enabled

Proposed resolution

Fix the errors

Remaining tasks

Fix the errors

User interface changes

None

API changes

None

Data model changes

None

πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States john.oltman

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

Comments & Activities

Production build 0.71.5 2024