Compatibility with PHP 7

Created on 8 April 2025, about 1 month ago

Problem/Motivation

This module is available for Drupal 9 which supports PHP 7.4, however when you try it you will see an error when sending the email:

ParseError : syntax error, unexpected '|', expecting ';' or '{' dans Composer\Autoload\includeFile() (/opt/www/web/modules/contrib/resend_register_mail/src/Plugin/Action/ResendRegisterMail.php ligne 88)

Steps to reproduce

Install this module on Drupal 9.5 + PHP 7.4, got to /admin/people and resend the registration / welcome email.
You will get this error.

Proposed resolution

Make the code compatible.

Remaining tasks

Submit MR

User interface changes

None

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇫🇷France tostinni

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