TypeError: \NestedArray::getValue(): Argument #2 ($parents) must be of type array,

Created on 21 May 2025, 3 months ago

Problem/Motivation

TypeError: Drupal\Component\Utility\NestedArray::getValue(): Argument #2 ($parents) must be of type array, null given, called in /var/www/html/web/modules/contrib/conditional_fields/src/ConditionalFieldsFormHelper.php on line 904 in Drupal\Component\Utility\NestedArray::getValue() (line 69 of /var/www/html/web/core/lib/Drupal/Component/Utility/NestedArray.php).

Steps to reproduce

1. create a content type.
2. then create a field with two option user type 1 and user type 2.
3. then add condition on field if we selected user type 2 then display the paragraph field.
4. crated a paragraph field then add some field under the paragraph field like : name, age and image.
5. Now, try to add image.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Needs work

Version

4.0

Component

Code

Created by

🇮🇳India shashank5563 New Delhi

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024