TypeError unflatten() must be of type array, null given

Created on 26 March 2025, 2 months ago

Problem/Motivation

When user selected custom fields for translation but fields in some cases do not return any data for translation fatal error occurs.

TypeError: Drupal\tmgmt\Data::unflatten(): Argument #1 ($flattened_data) must be of type array, null given,
called in /web/modules/contrib/tmgmt_deepl/src/Plugin/tmgmt/Translator/DeeplTranslator.php on line 605 in
Drupal\tmgmt\Data->unflatten() (line 93 of /web/modules/contrib/tmgmt/src/Data.php).

πŸ› Bug report
Status

Active

Version

2.2

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine andriic

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