Should be fixed on 2.1 with https://git.drupalcode.org/project/soft_length_limit/-/blob/2.1.x/soft_l...
When creating/editing content which has one or more text fields where a soft length limit is not set, several PHP notices and warnings are generated. e.g:
Notice: Undefined index: value in soft_length_limit_field_widget_form_alter() (line 158 of /app/docroot/modules/contrib/soft_length_limit/soft_length_limit.module)
Notice: Trying to access array offset on value of type null in soft_length_limit_field_widget_form_alter() (line 158 of /app/docroot/modules/contrib/soft_length_limit/soft_length_limit.module)
Warning: array_merge_recursive(): Expected parameter 2 to be an array, null given in soft_length_limit_field_widget_form_alter() (line 158 of /app/docroot/modules/contrib/soft_length_limit/soft_length_limit.module)
I have attached a simple patch to fix.
Closed: outdated
2.1
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Should be fixed on 2.1 with https://git.drupalcode.org/project/soft_length_limit/-/blob/2.1.x/soft_l...