Task #3110
Fix a deprecation error in drupal rules module
Status:
New
Priority:
Normal
Assignee:
-
Category:
Drupal
Start date:
2023-10-03
Due date:
% Done:
0%
Estimated time:
Description
Required technologies: Ubuntu (can use docker), php 8.1, drupal, git
- In this project: https://www.drupal.org/project/rules
- maybe line 92 here: https://git.drupalcode.org/project/rules/-/blob/8.x-3.0-alpha7/src/Engine/ActionExpressionContainer.php?ref_type=tags
- maybe line 213 here: https://git.drupalcode.org/project/rules/-/blob/8.x-3.0-alpha7/src/Plugin/RulesExpression/RuleExpression.php?ref_type=tags#L213
I get deprecation messages when an email is sent. The email is still sent! This is not an error per se, this is a deprecation warning being shown as an error.
It's best to actually fix the error, however! I don't need this error to be fixed, if you can just avoid showing the deprecation error.
There are two ways to solve this: either fix the problem with the rules module, or turn off deprecation reporting so that the message isn't shown.
Here is the error message I get:
I can also provide the database (mysql) dump.
I can also provide SMTP credentials, and other configuration necessary to start the project locally.
Files
History
Updated by victor piousbox about 1 year ago
- File 2023-10-03 at 12.53.16 PM.jpg 2023-10-03 at 12.53.16 PM.jpg added
- File 2023-10-03 at 12.54.40 PM.jpg 2023-10-03 at 12.54.40 PM.jpg added
- File composer.json composer.json added
- File composer.lock composer.lock added
- Description updated (diff)