TypeError: Drupal\ckeditor5_premium_features\Plugin\Filter\FilterCollaboration::processWithTrackChangesData(): Argument #2 ($trackChangesData) must be of type array, null given

Created on 11 March 2025, 23 days ago

Problem/Motivation

Error when users with not comment admin role try to create a comment

Steps to reproduce

- Install the module
- Grant a role to only Write Comments
- When user try to comment the following error appears

TypeError: Drupal\ckeditor5_premium_features\Plugin\Filter\FilterCollaboration::processWithTrackChangesData(): Argument #2 ($trackChangesData) must be of type array, null given, called in /var/www/html/web/modules/contrib/ckeditor5_premium_features/src/Diff/DocumentDiffHelper.php on line 56 in Drupal\ckeditor5_premium_features\Plugin\Filter\FilterCollaboration->processWithTrackChangesData() (line 247 of modules/contrib/ckeditor5_premium_features/src/Plugin/Filter/FilterCollaboration.php).

🐛 Bug report
Status

Active

Version

1.4

Component

Plugin: Track Changes

Created by

🇨🇷Costa Rica mcortes19

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