Closed (fixed)
Project:
Eulerian
Version:
1.0.3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
30 Jan 2024 at 12:05 UTC
Updated:
13 Feb 2024 at 13:24 UTC
Jump to comment: Most recent, Most recent file
I can't create un custom parameters with tokens.
I have this error : The website encountered an unexpected error. Try again later.
TypeError: array_filter(): Argument #2 ($callback) must be a valid callback or null, class Drupal\eulerian\Form\SettingsForm does not have a method "containsForbiddenToken" in array_filter() (line 591 of modules/custom/eulerian/src/Form/SettingsForm.php).
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | eulerian-3418017.patch | 1.07 KB | abhishek_gupta1 |
Comments
Comment #2
abhishek_gupta1 commentedComment #3
abhishek_gupta1 commented@Coco974, fixed the issue, created patch.
Comment #5
s3b0un3tHello,
It seems that this function was accidentally deleted.
It ensures that the tokens used in custom parameters do not infringe the GDPR (prohibition on the transmission of private data).
I added this method.
It is based on the same code as the Matomo module.
I am pushing a fix and will generate a new release quickly.
THANKS !