- Issue created by @pascuperbla
- πΈπ°Slovakia coaston
+1 I am not using paragraph - don't have such module installed. But experiencing the same issue right after I have updated module from 8.x-1.0-alpha10 to version 4.
Need to revert back.
When adding content with paragraphs that have conditional fields, the following error is generated: "TypeError: Drupal\conditional_fields\ConditionalFieldsFormHelper::addStateToGroup(): Argument #1 ($new_states) must be of type array, null given, called in /usr/aplic_ICM/drupal/pcen_drupal/web/modules/contrib/conditional_fields/src/ConditionalFieldsFormHelper.php on line 276 in Drupal\conditional_fields\ConditionalFieldsFormHelper->addStateToGroup() (line 478 of modules/contrib/conditional_fields/src/ConditionalFieldsFormHelper.php)."
Create a paragraph with conditional fields, create a content type with a field that includes the paragraph created above. Create a node of the created content type.
Transform the parameter that is sent to the function when it is null to an empty array.
Active
4.0
Code
+1 I am not using paragraph - don't have such module installed. But experiencing the same issue right after I have updated module from 8.x-1.0-alpha10 to version 4.
Need to revert back.